Package org.gbif.api.vocabulary
Enum Class UserRole
- All Implemented Interfaces:
Serializable
,Comparable<UserRole>
,Constable
Roles here shall not be defined in
AppRole
(validated by unit test).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.A Catalogue of Life administrator with all permissions.A Catalogue of Life editor with permissions to manage datasets and assemblies.A user that has permissions to create data packages.Deprecated.A GRSciColl administrator with all permissions.A GRSciColl editor with limited permissions.A GRSciColl mediator with more permissions than an editor but less than an admin.Deprecated.A user invited to test particular restricted features.A registry administrator with all permissions, often used by internal GBIF applications and secretariat staff.A registry editor with limited permissions.A regular, registered GBIF user.A vocabulary administrator with all permissions.A vocabulary editor with limited permissions. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
USER
A regular, registered GBIF user. -
ADMIN
Deprecated.A drupal system administrator. To be removed when Drupal is decommissioned. -
EDITOR
Deprecated.A drupal news and content editor. To be removed when Drupal is decommissioned. -
INVITED_TESTER
A user invited to test particular restricted features. -
REGISTRY_ADMIN
A registry administrator with all permissions, often used by internal GBIF applications and secretariat staff. -
REGISTRY_EDITOR
A registry editor with limited permissions. Exact permissions are handled by the registry itself. Often used for external applications. -
DATA_REPO_USER
A user that has permissions to create data packages. -
COL_ADMIN
A Catalogue of Life administrator with all permissions. -
COL_EDITOR
A Catalogue of Life editor with permissions to manage datasets and assemblies. Exact permissions are handled by the CoL itself. -
VOCABULARY_ADMIN
A vocabulary administrator with all permissions. -
VOCABULARY_EDITOR
A vocabulary editor with limited permissions. -
GRSCICOLL_ADMIN
A GRSciColl administrator with all permissions. -
GRSCICOLL_EDITOR
A GRSciColl editor with limited permissions. -
GRSCICOLL_MEDIATOR
A GRSciColl mediator with more permissions than an editor but less than an admin. -
IDIGBIO_GRSCICOLL_EDITOR
Deprecated.A grscicoll editor with permissions for some iDigBio-only operations.
-
-
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
-