Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Udaya Léost May 19, 2015

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

1 vote
Lukas Knoch -Rumpelcoders-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2015

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
TAGS
AUG Leaders

Atlassian Community Events