Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How do I disabled editing of comments?

How do I disable the editing of comments by a space admin? I can understand the add / remove permission, but globally I want to the ability to disable the editing of someone else's comments. How can I do this?

1 answer

Hi Jeffrey,

The global permissions in Confluence operate at a much higher level, have a look at the page:

https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview

the permission to edit comments is controlled on a space by space basis by an admin. If you want to block a space admin, they can just over ride it and give themselves the permission again.

There are some tricks you could pull to try and block the space permission URL using apache HTTPD in front of Confluence....

Or... you could write a macro to query the confluence API to look at space permissions object and report on anyone who has it that shouldn't

But I think it should be more about education than enforcement

Found a way to do it by js:

<script>
  AJS.toInit(function() {
    AJS.$('.comment-header').each(function() {
      var u = $(this).children('.author').children('a.url').attr('data-username');
      if (AJS.params.remoteUser != u) {
        $(this).siblings('.comment-body').find('.comment-action-edit').remove();
      }
    });
  });
</script>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence Cloud

Please tell us how you use Confluence space settings

Hi there, a few of us at Atlassian would love to learn about how you use "space settings" functionality in Confluence. A facelift to the space settings is long overdue and we want to start with impro...

309 views 11 8
Join discussion

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