com.atlassian.jira.issue.security.IssueSecuritySchemeService |
Known Indirect Subclasses |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Service which can be used to access issue security functionality.
Checks permissions before handing off performing the action to the correct manager.
See IssueSecurityLevelManager
and IssueSecuritySchemeManager
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns an issue security level with a given id.
| |||||||||||
Returns a single issue security scheme with a given id.
| |||||||||||
Returns a single issue security scheme for a given project.
| |||||||||||
Returns a single issue security scheme for a given project.
| |||||||||||
Returns all defined security level schemes.
| |||||||||||
Returns the list of security levels for the given issue security level scheme.
| |||||||||||
Returns permissions for the given issue security level.
|
Returns an issue security level with a given id.
user | user for which permission checks are performed. Only users with an admin permission can perform this action. |
---|
Returns a single issue security scheme with a given id.
user | user for which permission checks are performed. Permission to get the issue security scheme with a given key is granted in the following cases: 1. User has the administrator global permission. 2. The scheme is used in a project to which the user has the project administrator permission. |
---|
Returns a single issue security scheme for a given project.
user | user for which permissions checks are performed. Permission to get the issue security scheme with a given key is granted in the following cases: 1. User has the administrator global permission. 2. The scheme is used in a project to which the user has the project administrator permission. |
---|---|
projectKey | key of the project to return scheme for. |
Returns a single issue security scheme for a given project.
user | user for which permissions checks are performed. Permission to get the issue security scheme with a given key is granted in the following cases: 1. User has the administrator global permission. 2. The scheme is used in a project to which the user has the project administrator permission. |
---|---|
projectId | id of the project to return scheme for. |
Returns all defined security level schemes.
user | user for which permission checks are performed. Only users with an admin permission can perform this action. |
---|
Returns the list of security levels for the given issue security level scheme. The elements are ordered by name.
user | user for which permission checks are performed. Permission to get the issue security levels for a scheme with a given key is granted in the following cases: 1. User has the administrator global permission. 2. The scheme is used in a project to which the user has the project administrator permission. |
---|
Returns permissions for the given issue security level.
user | user for which permission checks are performed. Only users with an admin permission can perform this action. |
---|