Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I display specific content on a page for only some users/groups?

How can I display specific content on a page for only some users/groups to see, but not all? Ideally, I'd like to show some information about a topic on any given page to all users/groups, but make more information available to specific users/groups.

2 answers

1 accepted

3 votes
Answer accepted
Thomas Schlegel Community Leader Mar 17, 2017

I got another plugin for you: multiexcerpt (https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro/cloud/overview)

It is working similar as the excerpt macro, except you can put more than one excerpt on a page and the excerpt include macro is not showing the error message, if the user is not allowed to view the included excerpt. It simply shows nothing. I think, that's what you are looking for. But it is not for free.

Hi @Thomas Schlegel thanks a lot for this answer! This is exactly what I'm looking for. Sadly, it is not working for us. As you can see in my screenshot, I got error messages like these? (I tried first the original Excerpt Macro, and then the three implementation of Multiexcerpt) 
Did I miss something? Do you have any advice how to solve this problem?

Screenshot 2021-12-03 at 08.28.56.png

Thomas Schlegel Community Leader Dec 03, 2021

Hi @Henry Auffahrt ,

I have just tried this again with Confluence 7.13 and Multiexcerpt 5.6.0 - it works as expected. 

This is the page when a user has permission on the source space:

image.png

And this is the view if the user doesn't have the permission:

image.png 

Maybe there's a difference between on premise and cloud?

Hi @Thomas Schlegel

I wrote the support from the plugin vendor. It is a difference between on premise and cloud. This feature is missing in the cloud instances... really annoying... 

Page A = page visible for everybody

Page B = page visible only for some users

On page B:  Use the excerpt macro around your text. Set your restrictions on this page.

On page A: Use the include excerpt macro

Thomas Schlegel Community Leader Mar 17, 2017

With that, user who are not allowed to see the excerpt get an error message: Error rendering macro 'excerpt-include' : User 'xxx' does not have permission to view the page 'xxx'.

If you were on a self-hosted instance you could use the visibility plugin. But it is not available for Confluence Cloud.

Thanks for the quick response! Any way to make it so that Page A does not show the message below when a user is not authorized to view it?:

 

Error rendering macro 'excerpt-include' : User 'XXXXX' does not have permission to view the page 'Full Article'.

Thomas Schlegel Community Leader Mar 17, 2017

not on Cloud, as far as I know... sad

Do you know if it is possible to make a blog post available to only some groups/users and not all groups/users in the space?

Thomas Schlegel Community Leader Mar 17, 2017

yes, you can restrict a blog post to users or groups as any regular page.

That's great! Will it show up at all to those in the blog roll? As in, will they see the article even though they can't read it?

Thomas Schlegel Community Leader Mar 17, 2017

The blog post is not visible for those, who cant' read it. They don't have it in their blog roll.

You can try it. Create a blog post and restrict it to you. Your colleague should not see it at all.

Thanks so much for your help!

Thomas Schlegel Community Leader Mar 17, 2017

You're welcome smile

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,972 views 33 137
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you