public interface PermissionsAdministrator
Modifier and Type | Method and Description |
---|---|
PermissionRow |
buildAnonymousPermissionRow()
Builds the permissions for anonymous users, for printing in the UI.
|
Collection<PermissionRow> |
buildGroupPermissionTable(UserAccessor userAccessor)
Builds a map of permissions for each permitted group, for printing in the UI
The key is the groupname and the values is a row of permissions.
|
PermissionRow |
buildUnlicensedAuthenticatedPermissionRow()
Builds the permissions for all authenticated users, for printing in the UI.
|
Collection<PermissionRow> |
buildUserPermissionTable(UserAccessor userAccessor)
Builds a map of permissions for each permitted user, for printing in the UI
The key is the username and the values is a row of permissions.
|
List<SpacePermission> |
getPermissions()
Returns the current permissions set for the entity
|
Collection<PermissionRow> buildUserPermissionTable(UserAccessor userAccessor)
userAccessor
- - used to find and verify the usernames.Collection<PermissionRow> buildGroupPermissionTable(UserAccessor userAccessor)
userAccessor
- - used to find and verify the groupnames.PermissionRow buildUnlicensedAuthenticatedPermissionRow()
PermissionRow buildAnonymousPermissionRow()
List<SpacePermission> getPermissions()
Copyright © 2003–2018 Atlassian. All rights reserved.