public interface

GlobalPermissionTypesManager

com.atlassian.jira.security.plugin.GlobalPermissionTypesManager
Known Indirect Subclasses

Class Overview

Manages global permissions defined by plugins. System Global Permissions are also defined here

Summary

Public Methods
Collection<GlobalPermissionType> getAll()
Returns all global permissions defined in this JIRA instance.
Option<GlobalPermissionType> getGlobalPermission(GlobalPermissionKey permissionKey)
Returns the details of the given Global Permission.
Option<GlobalPermissionType> getGlobalPermission(String permissionKey)
Returns the details of the given Global Permission.

Public Methods

public Collection<GlobalPermissionType> getAll ()

Returns all global permissions defined in this JIRA instance.

Returns
  • all global permissions defined by plugins including system permissions.

public Option<GlobalPermissionType> getGlobalPermission (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.

public Option<GlobalPermissionType> getGlobalPermission (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.