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
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

63 views 3 2
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