Package com.polarion.platform.security
Class UserManagementPermission
java.lang.Object
com.polarion.platform.security.Permission
com.polarion.platform.security.UserManagementPermission
- All Implemented Interfaces:
IPermission
User management permission class.
Available permissions:
com.polarion.security.user.manage
- action isACTION_MANAGE_USER
com.polarion.security.role.manage
- action isACTION_MANAGE_ROLE
AdministrationPermission.ACTION_MODIFY
implies management of
users and roles.
Policy class is IUserManagementPolicy
.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
Deprecated, for removal: This API element is subject to removal in a future version.The 'com.polarion.security.role.manage.assignments' permission was already removed.static final String
Fields inherited from class com.polarion.platform.security.Permission
name
Fields inherited from interface com.polarion.platform.security.IPermission
SEPARATOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserManagementPermission
The collection of permissions, to which the decision about this permission is granted, if there is no record for exactly this permission.Methods inherited from class com.polarion.platform.security.Permission
denied, equals, getDynamicRoles, getName, hashCode, isInCustomSet, toString
-
Field Details
-
ACTION_MANAGE_USER
- See Also:
-
ACTION_MANAGE_ROLE
- See Also:
-
ACTION_MANAGE_ROLE_ASSIGNMENT
@Deprecated(since="3.24.10", forRemoval=true) @NotNull public static final String ACTION_MANAGE_ROLE_ASSIGNMENTDeprecated, for removal: This API element is subject to removal in a future version.The 'com.polarion.security.role.manage.assignments' permission was already removed. This constant will be removed in the future.- See Also:
-
-
Constructor Details
-
UserManagementPermission
- Parameters:
name
-
-
UserManagementPermission
- Parameters:
dummy
- is unused, but has to stay because of the other constructor
-
-
Method Details
-
forAction
- Since:
- 3.24.10
-
getAction
- Returns:
- the action
-
getParentPermissions
Description copied from interface:IPermission
The collection of permissions, to which the decision about this permission is granted, if there is no record for exactly this permission.For permission to be granted, none of it's parents can be denied and at least one of them must be granted. The rest can be either undefined or granted.
- Specified by:
getParentPermissions
in interfaceIPermission
- Overrides:
getParentPermissions
in classPermission
- Returns:
- array of
IPermission
s (notnull
)
-