Interface GlobalPermissionTypesManager
- All Known Implementing Classes:
GlobalPermissionTypesManagerImpl
,MockGlobalPermissionTypeManager
public interface GlobalPermissionTypesManager
Manages global permissions defined by plugins. System Global Permissions are also defined here
-
Method Summary
Modifier and TypeMethodDescriptiongetAll()
Returns all global permissions defined in this JIRA instance.io.atlassian.fugue.Option<GlobalPermissionType>
getGlobalPermission
(GlobalPermissionKey permissionKey) Returns the details of the given Global Permission.io.atlassian.fugue.Option<GlobalPermissionType>
getGlobalPermission
(String permissionKey) Returns the details of the given Global Permission.
-
Method Details
-
getAll
Collection<GlobalPermissionType> getAll()Returns all global permissions defined in this JIRA instance.- Returns:
- all global permissions defined by plugins including system permissions.
-
getGlobalPermission
Returns the details of the given Global Permission.- Parameters:
permissionKey
- the String based permission key- Returns:
- the global permission object for the provided permissionKey.
-
getGlobalPermission
io.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull GlobalPermissionKey permissionKey) Returns the details of the given Global Permission.- Parameters:
permissionKey
- the GlobalPermissionKey representing this Global Permission.- Returns:
- the global permission object for the provided permissionKey.
-