How to hide content to certain users? Edited

I want to hide some content from certain users, for example unauthenticated users.

I've been using the "include" plugin, placing the hidden content in a separate space with different permissions, but recently (I think?) it started showing an error if the users couldn't access the hidden space contents.

I wanted to hide that error with a custom CSS... but recently the support for custom CSS has been completely deprecated.

I've found some other solutions but they put the hidden content inside the page "code" as "comments" that you can see only by editing the page. I don't like this solution since you have to give write permissions to the users in order to be able to see the contents (or anyway, you need to edit the page to see it).

Is there some other way to do this?

edit: I'm refering to Confluence Cloud.

1 answer

1 vote
Thomas Schlegel Community Champion Oct 05, 2017

Hi Simone,

I've written an article about hiding content on a Confluence page:

I think, the visibility plugin is the one, you are looking for.

Thanks for the link. Interesting read, but it seems the only option with Confluence Cloud is adding a div with "display: none" and accept that the content is there anyway.

I was hoping in something slightly more secure. The "Include" plugin has been working fine, if it wasn't for the error it shows.

The visibility plugin isn't available for Cloud.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

801 views 38 5
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you