public enum UserRole extends Enum<UserRole>
AppRole
(validated by unit test).Enum Constant and Description |
---|
ADMIN
Deprecated.
|
COL_ADMIN
A Catalogue of Life administrator with all permissions.
|
COL_EDITOR
A Catalogue of Life editor with permissions to manage datasets and assemblies.
|
DATA_REPO_USER
A user that has permissions to create data packages.
|
EDITOR
Deprecated.
|
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.
|
REGISTRY_ADMIN
A registry administrator with all permissions, often used by internal GBIF applications.
|
REGISTRY_EDITOR
A registry editor with limited permissions.
|
USER
A regular, registered GBIF drupal user.
|
VOCABULARY_ADMIN
A vocabulary administrator with all permissions.
|
VOCABULARY_EDITOR
A vocabulary editor with limited permissions.
|
Modifier and Type | Method and Description |
---|---|
static UserRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final UserRole ADMIN
@Deprecated public static final UserRole EDITOR
public static final UserRole REGISTRY_ADMIN
public static final UserRole REGISTRY_EDITOR
public static final UserRole DATA_REPO_USER
public static final UserRole COL_ADMIN
public static final UserRole COL_EDITOR
public static final UserRole VOCABULARY_ADMIN
public static final UserRole VOCABULARY_EDITOR
public static final UserRole GRSCICOLL_ADMIN
public static final UserRole GRSCICOLL_EDITOR
public static final UserRole GRSCICOLL_MEDIATOR
@Deprecated public static final UserRole IDIGBIO_GRSCICOLL_EDITOR
public static UserRole[] values()
for (UserRole c : UserRole.values()) System.out.println(c);
public static UserRole valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.