Is there an add-on that allow to have a detailed view of all permissions défined into Confluence?

Hello,

I would like to know if there is a plugin or an addon that allow to have a detailed view of all permissions configured into Confluence? Or maybe if there is another solution. 

This is an important feature in case of account review for example.

Thanks a lot.

Udaya.

1 answer

You can achieve that with a custom user macro. Something like:

## Macro title: My Macro
## Macro has a body: Y or N
## Body processing: Selected body processing option
## Output: Selected output option
##
## Developed by: My Name
## Date created: dd/mm/yyyy
## Installed by: My Name
## This is an example macro
Space Permissions:
#foreach($space in $spaceManager.getAllSpaces())
#foreach ($permission in $space.getPermissions())
#if ($permission.isGroupPermission())
Group $permission.getGroup() has permission $permission.getType() in space $space.name <br/>
#end
#if ($permission.isUserPermission())
User $permission.getUserName() has permission $permission.getType() in space $space.name <br/>
#end
#end
#end

That is for spaces only and untested. You could do the same for pages, but it gets quite long if you have many.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

251 views 2 10
Read article

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