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 Details

    • getAll

      Returns all global permissions defined in this JIRA instance.
      Returns:
      all global permissions defined by plugins including system permissions.
    • getGlobalPermission

      io.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull String permissionKey)
      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.