Class UserManagementPermission

java.lang.Object
com.polarion.platform.security.Permission
com.polarion.platform.security.UserManagementPermission
All Implemented Interfaces:
IPermission

public class UserManagementPermission extends Permission
User management permission class.

Available permissions:

Administration permission 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 Details

  • Constructor Details

    • UserManagementPermission

      public UserManagementPermission(@NotNull String name)
      Parameters:
      name -
    • UserManagementPermission

      public UserManagementPermission(boolean dummy, @NotNull String action)
      Parameters:
      dummy - is unused, but has to stay because of the other constructor
  • Method Details

    • getAction

      @NotNull public String getAction()
      Returns:
      the action
    • getParentPermissions

      @NotNull public IPermission[] 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 interface IPermission
      Overrides:
      getParentPermissions in class Permission
      Returns:
      array of IPermissions (not null)