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")- Since:
- 6.2.5
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GlobalPermissionKeystatic final GlobalPermissionKeystatic final GlobalPermissionKeystatic final Set<GlobalPermissionKey> A collection of all theGlobalPermissionKeys 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 GlobalPermissionKeystatic final GlobalPermissionKeystatic final GlobalPermissionKeyDeprecated.static final GlobalPermissionKey -
Method Summary
-
Field Details
-
ADMINISTER
-
SYSTEM_ADMIN
-
USE
Deprecated.UseApplicationAuthorizationServiceinstead.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 theGlobalPermissionKeys that are used by default for a JIRA Application.
-
-
Method Details
ApplicationAuthorizationServiceinstead.Since v7.0.