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?

Alain Amador Mar 17, 2017

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

2 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.

1 vote
Steffi Frank Mar 17, 2017

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.

Alain Amador Mar 17, 2017

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

Alain Amador Mar 17, 2017

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.

Alain Amador Mar 17, 2017

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.

Alain Amador Mar 17, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

948 views 0 19
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