Package com.io7m.idstore.model
Enum Class IdAdminPermission
- All Implemented Interfaces:
Serializable
,Comparable<IdAdminPermission>
,Constable
The type of admin permissions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA permission that allows for banning admins.A permission that allows for creating admins.A permission that allows for deleting admins.A permission that allows reading admins.A permission that allows for modifying the credentials (names, passwords) of admins.A permission that allows for modifying the credentials (names, passwords) of the calling admin.A permission that allows for modifying the email addresses of admins.A permission that allows for modifying the email addresses of the calling admin.A permission that allows for modifying the permissions of admins.A permission that allows for modifying the permissions of the calling admin.A permission that allows reading the audit log.A permission that allows testing the mail system.A permission that allows setting the server into maintenance mode.A permission that allows for banning users.A permission that allows creating users.A permission that allows deleting users.A permission that allows reading users.A permission that allows for modifying the credentials (names, passwords) of users.A permission that allows for modifying the email addresses of users. -
Method Summary
Modifier and TypeMethodDescriptionabstract Set
<IdAdminPermission> implies()
static IdAdminPermission
Returns the enum constant of this class with the specified name.static IdAdminPermission[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADMIN_DELETE
A permission that allows for deleting admins. -
ADMIN_CREATE
A permission that allows for creating admins. -
USER_BAN
A permission that allows for banning users. -
ADMIN_BAN
A permission that allows for banning admins. -
ADMIN_WRITE_EMAIL
A permission that allows for modifying the email addresses of admins. -
ADMIN_WRITE_EMAIL_SELF
A permission that allows for modifying the email addresses of the calling admin. -
ADMIN_WRITE_PERMISSIONS
A permission that allows for modifying the permissions of admins. -
ADMIN_WRITE_PERMISSIONS_SELF
A permission that allows for modifying the permissions of the calling admin. -
ADMIN_WRITE_CREDENTIALS
A permission that allows for modifying the credentials (names, passwords) of admins. -
ADMIN_WRITE_CREDENTIALS_SELF
A permission that allows for modifying the credentials (names, passwords) of the calling admin. -
ADMIN_READ
A permission that allows reading admins. -
AUDIT_READ
A permission that allows reading the audit log. -
USER_DELETE
A permission that allows deleting users. -
USER_CREATE
A permission that allows creating users. -
USER_WRITE_EMAIL
A permission that allows for modifying the email addresses of users. -
USER_WRITE_CREDENTIALS
A permission that allows for modifying the credentials (names, passwords) of users. -
USER_READ
A permission that allows reading users. -
MAIL_TEST
A permission that allows testing the mail system. -
MAINTENANCE_MODE
A permission that allows setting the server into maintenance mode.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
implies
- Returns:
- The set of permissions implied by this permission
-