public final class GlobalPermissionKey extends Object implements Serializable
You can use the pre-defined constants for the well-known system global permissions eg:
GlobalPermissionKey.ADMINISTERor create a new GlobalPermissionKey with the static initializer eg:
GlobalPermissionKey.of("foo")
Modifier and Type | Field and Description |
---|---|
static GlobalPermissionKey |
ADMINISTER |
static GlobalPermissionKey |
BULK_CHANGE |
static GlobalPermissionKey |
CREATE_SHARED_OBJECTS |
static Set<GlobalPermissionKey> |
DEFAULT_APP_GLOBAL_PERMISSIONS
A collection of all the
GlobalPermissionKey s that are used by default for a JIRA Application. |
static com.google.common.collect.BiMap<Integer,GlobalPermissionKey> |
GLOBAL_PERMISSION_ID_TRANSLATION
This map is used to map the old Integer/Long based ID to a String based key.
|
static GlobalPermissionKey |
MANAGE_GROUP_FILTER_SUBSCRIPTIONS |
static GlobalPermissionKey |
SYSTEM_ADMIN |
static GlobalPermissionKey |
USE
Deprecated.
Use
ApplicationAuthorizationService instead.Since v7.0. |
static GlobalPermissionKey |
USER_PICKER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getKey() |
int |
hashCode() |
static GlobalPermissionKey |
of(String key)
Static initializer to construct a GlobalPermissionKey from a given String key.
|
String |
toString() |
public static final GlobalPermissionKey ADMINISTER
public static final GlobalPermissionKey SYSTEM_ADMIN
@Deprecated public static final GlobalPermissionKey USE
ApplicationAuthorizationService
instead.Since v7.0.public static final GlobalPermissionKey USER_PICKER
public static final GlobalPermissionKey CREATE_SHARED_OBJECTS
public static final GlobalPermissionKey MANAGE_GROUP_FILTER_SUBSCRIPTIONS
public static final GlobalPermissionKey BULK_CHANGE
@Internal public static final com.google.common.collect.BiMap<Integer,GlobalPermissionKey> GLOBAL_PERMISSION_ID_TRANSLATION
@Internal public static final Set<GlobalPermissionKey> DEFAULT_APP_GLOBAL_PERMISSIONS
GlobalPermissionKey
s that are used by default for a JIRA Application.@Nonnull public static GlobalPermissionKey of(@Nonnull String key)
Copyright © 2002-2019 Atlassian. All Rights Reserved.