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
com.polarion.security.role.manage.assignments
- action isACTION_MANAGE_ROLE_ASSIGNMENT
AdministrationPermission.ACTION_MODIFY
implies management of
users and roles. Management of role assignments is implied by role management.
Policy class is IUserManagementPolicy
.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Field Summary
Fields inherited from class com.polarion.platform.security.Permission
name
Fields inherited from interface com.polarion.platform.security.IPermission
SEPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe 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
- See Also:
-
-
Constructor Details
-
UserManagementPermission
- Parameters:
name
-
-
UserManagementPermission
- Parameters:
dummy
- is unused, but has to stay because of the other constructor
-
-
Method Details
-
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
)
-