Enum UserRole

    • Enum Constant Detail

      • 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.
      • GRSCICOLL_MEDIATOR

        public static final UserRole GRSCICOLL_MEDIATOR
        A GRSciColl mediator with more permissions than an editor but less than an admin.
    • Method Detail

      • values

        public static UserRole[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UserRole c : UserRole.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserRole valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null