Enum Class UserRole

java.lang.Object
java.lang.Enum<UserRole>
org.gbif.api.vocabulary.UserRole
All Implemented Interfaces:
Serializable, Comparable<UserRole>, Constable

public enum UserRole extends Enum<UserRole>
Roles here shall not be defined in AppRole (validated by unit test).
  • Enum Constant Details

    • USER

      public static final UserRole USER
      A regular, registered GBIF user.
    • ADMIN

      @Deprecated public static final UserRole ADMIN
      Deprecated.
      A drupal system administrator. To be removed when Drupal is decommissioned.
    • EDITOR

      @Deprecated public static final UserRole EDITOR
      Deprecated.
      A drupal news and content editor. To be removed when Drupal is decommissioned.
    • INVITED_TESTER

      public static final UserRole INVITED_TESTER
      A user invited to test particular restricted features.
    • REGISTRY_ADMIN

      public static final UserRole REGISTRY_ADMIN
      A registry administrator with all permissions, often used by internal GBIF applications and secretariat staff.
    • REGISTRY_EDITOR

      public static final UserRole REGISTRY_EDITOR
      A registry editor with limited permissions. Exact permissions are handled by the registry itself. Often used for external applications.
    • DATA_REPO_USER

      public static final UserRole DATA_REPO_USER
      A user that has permissions to create data packages.
    • COL_ADMIN

      public static final UserRole COL_ADMIN
      A Catalogue of Life administrator with all permissions.
    • COL_EDITOR

      public static final UserRole COL_EDITOR
      A Catalogue of Life editor with permissions to manage datasets and assemblies. Exact permissions are handled by the CoL itself.
    • VOCABULARY_ADMIN

      public static final UserRole VOCABULARY_ADMIN
      A vocabulary administrator with all permissions.
    • VOCABULARY_EDITOR

      public static final UserRole VOCABULARY_EDITOR
      A vocabulary editor with limited permissions.
    • GRSCICOLL_ADMIN

      public static final UserRole GRSCICOLL_ADMIN
      A GRSciColl administrator with all permissions.
    • GRSCICOLL_EDITOR

      public static final UserRole GRSCICOLL_EDITOR
      A GRSciColl editor with limited permissions.
    • GRSCICOLL_MEDIATOR

      public static final UserRole 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

      public static UserRole[] 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

      public static UserRole valueOf(String name)
      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 name
      NullPointerException - if the argument is null