Class DefaultPermissionsAdministrator
- java.lang.Object
-
- com.atlassian.confluence.security.administrators.DefaultPermissionsAdministrator
-
- All Implemented Interfaces:
PermissionsAdministrator
- Direct Known Subclasses:
AbstractEditPermissionsAdministrator
@Deprecated public class DefaultPermissionsAdministrator extends Object implements PermissionsAdministrator
Deprecated.since 7.17The view administrator used jointly by global and space permissions actions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultPermissionsAdministrator.GroupPermissionRow
Deprecated.static class
DefaultPermissionsAdministrator.UnlicensedPermissionRow
Deprecated.Used for both anonymous and "all authenticated user" permissions categoriesstatic class
DefaultPermissionsAdministrator.UserPermissionRow
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description protected List<SpacePermission>
permissions
Deprecated.protected SpacePermissionManager
spacePermissionManager
Deprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultPermissionsAdministrator(SpacePermissionManager spacePermissionManager, PermissionResolver permissionResolver, UserAccessor userAccessor)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PermissionRow
buildAnonymousPermissionRow()
Deprecated.Retrieves the UnlicensedPermissionRow for printing in a UI.Collection<PermissionRow>
buildGroupPermissionTable()
Deprecated.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()
Deprecated.Builds the permissions for all authenticated users, for printing in the UI.Collection<PermissionRow>
buildUserPermissionTable()
Deprecated.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()
Deprecated.Returns the current permissions set for the entityvoid
resetPermissions()
Deprecated.
-
-
-
Field Detail
-
spacePermissionManager
protected final SpacePermissionManager spacePermissionManager
Deprecated.
-
permissions
protected List<SpacePermission> permissions
Deprecated.
-
-
Constructor Detail
-
DefaultPermissionsAdministrator
protected DefaultPermissionsAdministrator(SpacePermissionManager spacePermissionManager, PermissionResolver permissionResolver, UserAccessor userAccessor)
Deprecated.- Since:
- 7.17
-
-
Method Detail
-
buildUserPermissionTable
public Collection<PermissionRow> buildUserPermissionTable()
Deprecated.Description copied from interface:PermissionsAdministrator
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.- Specified by:
buildUserPermissionTable
in interfacePermissionsAdministrator
- Returns:
- a map of permissions for each permitted user.
-
buildGroupPermissionTable
public Collection<PermissionRow> buildGroupPermissionTable()
Deprecated.Description copied from interface:PermissionsAdministrator
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.- Specified by:
buildGroupPermissionTable
in interfacePermissionsAdministrator
- Returns:
- a map of permissions for each permitted group.
-
buildUnlicensedAuthenticatedPermissionRow
public PermissionRow buildUnlicensedAuthenticatedPermissionRow()
Deprecated.Description copied from interface:PermissionsAdministrator
Builds the permissions for all authenticated users, for printing in the UI.- Specified by:
buildUnlicensedAuthenticatedPermissionRow
in interfacePermissionsAdministrator
- Returns:
- the permissions for all authenticated users.
-
buildAnonymousPermissionRow
public PermissionRow buildAnonymousPermissionRow()
Deprecated.Retrieves the UnlicensedPermissionRow for printing in a UI.- Specified by:
buildAnonymousPermissionRow
in interfacePermissionsAdministrator
- Returns:
- the anonymous permissions.
-
getPermissions
public List<SpacePermission> getPermissions()
Deprecated.Description copied from interface:PermissionsAdministrator
Returns the current permissions set for the entity- Specified by:
getPermissions
in interfacePermissionsAdministrator
- Returns:
- the current permissions set for the entity
-
resetPermissions
public void resetPermissions()
Deprecated.
-
-