Interface PermissionsAdministrator
-
- All Known Subinterfaces:
EditPermissionsAdministrator
- All Known Implementing Classes:
AbstractEditPermissionsAdministrator
,AbstractEditPermissionsAdministrator
,DefaultPermissionsAdministrator
,DefaultPermissionsAdministrator
,EditGlobalPermissionsAdministrator
,EditGlobalPermissionsAdministrator
,EditSpacePermissionsAdministrator
,EditSpacePermissionsAdministrator
public interface PermissionsAdministrator
Provides the logic required by the actions to view the permissions for both global and spaces
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PermissionRow
buildAnonymousPermissionRow()
Builds the permissions for anonymous users, for printing in the UI.Collection<PermissionRow>
buildGroupPermissionTable()
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()
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
-
buildUserPermissionTable
Collection<PermissionRow> buildUserPermissionTable()
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.- Returns:
- a map of permissions for each permitted user.
- Since:
- 7.17
-
buildGroupPermissionTable
Collection<PermissionRow> buildGroupPermissionTable()
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.- Returns:
- a map of permissions for each permitted group.
- Since:
- 7.17
-
buildUnlicensedAuthenticatedPermissionRow
PermissionRow buildUnlicensedAuthenticatedPermissionRow()
Builds the permissions for all authenticated users, for printing in the UI.- Returns:
- the permissions for all authenticated users.
-
buildAnonymousPermissionRow
PermissionRow buildAnonymousPermissionRow()
Builds the permissions for anonymous users, for printing in the UI.- Returns:
- the permissions for a anonymous users.
-
getPermissions
List<SpacePermission> getPermissions()
Returns the current permissions set for the entity- Returns:
- the current permissions set for the entity
-
-