Package com.atlassian.jira.permission
Class GlobalPermissionKey
java.lang.Object
com.atlassian.jira.permission.GlobalPermissionKey
- All Implemented Interfaces:
Serializable
An identifier for a Global Permission.
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")
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GlobalPermissionKey
static final GlobalPermissionKey
static final GlobalPermissionKey
static final Set<GlobalPermissionKey>
A collection of all theGlobalPermissionKey
s that are used by default for a JIRA Application.static final com.google.common.collect.BiMap<Integer,
GlobalPermissionKey> This map is used to map the old Integer/Long based ID to a String based key.static final GlobalPermissionKey
static final GlobalPermissionKey
static final GlobalPermissionKey
Deprecated.static final GlobalPermissionKey
-
Method Summary
-
Field Details
-
ADMINISTER
-
SYSTEM_ADMIN
-
USE
Deprecated.UseApplicationAuthorizationService
instead.Since v7.0. -
USER_PICKER
-
CREATE_SHARED_OBJECTS
-
MANAGE_GROUP_FILTER_SUBSCRIPTIONS
-
BULK_CHANGE
-
GLOBAL_PERMISSION_ID_TRANSLATION
@Internal public static final com.google.common.collect.BiMap<Integer,GlobalPermissionKey> GLOBAL_PERMISSION_ID_TRANSLATIONThis map is used to map the old Integer/Long based ID to a String based key. Once all existing code has been refactored to use the keys directly, this method won't be needed any more. -
DEFAULT_APP_GLOBAL_PERMISSIONS
A collection of all theGlobalPermissionKey
s that are used by default for a JIRA Application.
-
-
Method Details
ApplicationAuthorizationService
instead.Since v7.0.