How to control Confluence comment visibilty

Hi awesome Atlassian Confluence people!  We're using Confluence for user docs and wondering how (if) we can set permissions on comments so the comments are only visible to admin users and not the general public.  Right now it seems it's on/off with comments and everyone can see them regardless.

Many thanks!

1 answer

0 vote
Davin Studer Community Champion Jul 09, 2015

In Confluence Admin -> Look and Feel -> Layouts you can edit the comments layout template. You can put some velocity around the section that displays the comments that will only render it for admins.See the screen show below for the part to put the velocity around. And see the code block for what to put around it. I think that should get you what you want.

 

#if($permissionHelper.isConfluenceAdministrator($remoteUser))
 .... screenshot code here
#end

image2015-7-9 13:24:51.png

 

Davin Studer Community Champion Jul 09, 2015

Oh, wait I just saw that your are on the cloud offering. I'm not sure if you can edit the layout of the cloud offering. If you can then this would work, otherwise I think you are out of luck.

I'm a relative newb to Confluence and AFAIK we're running the cloud flavour. I was sent this to look into as well: https://confluence.atlassian.com/display/ConfCloud/Assign+Space+Permissions

Davin Studer Community Champion Jul 10, 2015

Yeah, by default the only perms that are available is create and delete perms. Everyone have view access as long as they can view the page. In order to remove view access from everyone except admins you need to be able to edit the velocity decorator. I'm not sure if cloud can do that or not, but my hunch is not.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

615 views 21 11
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