|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermissionsAdministrator
Provides the logic required by the actions to view the permissions for both global and spaces
Method Summary | |
---|---|
PermissionRow |
buildAnonymousPermissionRow()
Builds the permissions for an anonymous user, 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. |
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 |
Method Detail |
---|
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 buildAnonymousPermissionRow()
List<SpacePermission> getPermissions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |