Confluence and permissions for comments

Hi Guys.

Customer would like the opportunity to add kommentarerer per space in Confluence.

The comments will not be visible to all users - but could be concealed for group / evt individual users - that provide access per group or individual users to view comments, add comments, or delete comments.

Is there any way to sove that needs ?

Thanks a lot
Mik.

1 answer

This widget could not be displayed.

Hi there,

Confluence comment permission is configured under space permission. There you could specified which user can add and remove a comment on the page. However, Confluence does not have a feature to hide the comment section on the page to certain user or group.

However, the following workaround might be able to help you in achieving your purpose. Please note that the steps below could only hide the whole comment section, not an individual comment.

  1. Install CustomWare Visibility Plugin
  2. Access your administration page
  3. Navigate to "User Macros" under the "Configuration" section
  4. Create a User Macro
  5. Configure the Macro Name and Title (Example: hide)
  6. Choose "No Macro Body" as the definition of the macro
  7. Under the template input the following lines
    <style>
    #comments-section
    {
    display:none;
    }
    </style>
  8. Save
  9. Go to the page necessary
  10. Create a "<tt>show-if" macro with the configured groups that are restricted to see the comments section</tt>
  11. <tt>Put the created user macro inside the "show-if"</tt>macro
  12. Saved

Hope it helps.

Cheers,
Septa Cahyadiputra

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

348 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