com.atlassian.confluence.hosted.SpaceGroupPermissionManager |
Known Indirect Subclasses |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get space group permissions for the user.
| |||||||||||
Returns a collection of usernames with VIEWSPACEGROUP_PERMISSION in the spacegroup.
| |||||||||||
Determines if remoteUser has the given permission in space
| |||||||||||
Removes all permissions on the space-group for a particular user-group
| |||||||||||
Removes all permissions on the space-group for a particular SpaceGroup
| |||||||||||
Removes all permissions on the space-group for a particular user
| |||||||||||
Removes a single SpaceGroupPermission
| |||||||||||
Saves the permission.
|
Get space group permissions for the user.
IllegalArgumentException | if username is null |
---|
Returns a collection of usernames with VIEWSPACEGROUP_PERMISSION in the spacegroup. If no space is provided A list of users with USE_CONFLUENCE_PERMISSION will be returned
spaceGroup | - space to query, if null global permissions returned |
---|
IllegalArgumentException | if spacegroup is null |
---|
Determines if remoteUser has the given permission in space
permissionType | The permission type to look up |
---|---|
spaceGroup | The spacegroup the permission applies to (can not be null) |
remoteUser | The user to look up (can be null for the anonymous user) |
IllegalArgumentException | if spacegroup is null |
---|
Removes all permissions on the space-group for a particular user-group
groupname | the name of the user group |
---|
IllegalArgumentException | if username is null |
---|
Removes all permissions on the space-group for a particular SpaceGroup
spaceGroup | the name of the SpaceGroup |
---|
IllegalArgumentException | if username is null |
---|
Removes all permissions on the space-group for a particular user
username | the name of the user whose permissions should be removed |
---|
IllegalArgumentException | if username is null |
---|
Removes a single SpaceGroupPermission
permission | The SpaceGroupPermission that should be removed |
---|
IllegalArgumentException | if username is null |
---|