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

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

338 views 2 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