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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,702 views 25 10
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