It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence and permissions for comments

Mik Oct 22, 2012

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

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

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

943 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you