java.lang.Object | |
↳ | com.atlassian.jira.security.Permissions |
This class is deprecated.
Use fields and utility methods defined in ProjectPermissions
and GlobalPermissionKey
. Since v6.3.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Permissions.Permission | Experimental API, do not use, it may change without notice... | ||||||||||
Permissions.Type | Extremely Experimental API, do not use, it may change without notice... |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ADMINISTER | Permission to administer JIRA | |||||||||
int | ASSIGNABLE_USER | Permission to be assigned issues. | |||||||||
int | ASSIGN_ISSUE | Permission to assign issues to other users. | |||||||||
int | ATTACHMENT_DELETE_ALL | Permission to delete all attachments | |||||||||
int | ATTACHMENT_DELETE_OWN | Permission to delete own attachments | |||||||||
int | BROWSE | Permission to browse projects and issues. | |||||||||
int | BULK_CHANGE | Permission to modify a collection of issues (global) | |||||||||
int | CLOSE_ISSUE | Permission to close issues. | |||||||||
int | COMMENT_DELETE_ALL | Permission to delete all comments | |||||||||
int | COMMENT_DELETE_OWN | Permission to delete own comments | |||||||||
int | COMMENT_EDIT_ALL | Permission to modify all comments | |||||||||
int | COMMENT_EDIT_OWN | Permission to modify only your own comments | |||||||||
int | COMMENT_ISSUE | Permission to comment on issues | |||||||||
int | CREATE_ATTACHMENT | Permission to create attachments. | |||||||||
int | CREATE_ISSUE | Permission to create issues. | |||||||||
int | CREATE_SHARED_OBJECTS | Permission to created shared objects | |||||||||
int | DELETE_ISSUE | Permission to delete issues and comments. | |||||||||
int | EDIT_ISSUE | Permission to edit issues. | |||||||||
int | LINK_ISSUE | Permission to link issues together and create linked issues. | |||||||||
int | MANAGE_GROUP_FILTER_SUBSCRIPTIONS | Permission to manage group filter subscriptions | |||||||||
int | MANAGE_WATCHER_LIST | ||||||||||
int | MAX_PERMISSION | This constant is deprecated. Do not use MAX_PERMISSION - it is unsafe due to the way that Java compiles constant ints, and no longer relevant. Since v6.2.3 | |||||||||
int | MODIFY_REPORTER | ||||||||||
int | MOVE_ISSUE | Permission to move issues between projects | |||||||||
int | PROJECT_ADMIN | Permission to administer a Project | |||||||||
int | RESOLVE_ISSUE | Permission to resolve issues. | |||||||||
int | SCHEDULE_ISSUE | ||||||||||
int | SET_ISSUE_SECURITY | ||||||||||
int | SYSTEM_ADMIN | Permission to be a System Admin of JIRA | |||||||||
int | TRANSITION_ISSUE | Permission to perform workflow action (transition). | |||||||||
int | USE |
This constant is deprecated.
Use ApplicationAuthorizationService instead.Since v7.0.
|
|||||||||
int | USER_PICKER | ||||||||||
int | VIEW_VERSION_CONTROL | ||||||||||
int | VIEW_VOTERS_AND_WATCHERS | ||||||||||
int | VIEW_WORKFLOW_READONLY | ||||||||||
int | WORKLOG_DELETE_ALL | ||||||||||
int | WORKLOG_DELETE_OWN | ||||||||||
int | WORKLOG_EDIT_ALL | ||||||||||
int | WORKLOG_EDIT_OWN | Permission to edit/remove worklogs | |||||||||
int | WORK_ISSUE | Permission to log work done on an issue. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the description of a permission.
| |||||||||||
Given a string approximation, try to guess the type
If permName is null then -1 is returned
If the permName is not recognised then -1 is returned
| |||||||||||
This method is deprecated.
Log in permission will be changing significantly in JIRA 7.0 ... if you are using this method, then you will need to watch out for announcements in 7.0 Developer upgrade guide. Since v6.2.5
| |||||||||||
This method is deprecated.
No longer used. Also you should be using GlobalPermissionKey now instead of int.
| |||||||||||
This method is deprecated.
This method is a shim. call
isGlobalPermission(int) instead.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Permission to administer JIRA
Permission to be assigned issues.
Permission to assign issues to other users.
Permission to delete all attachments
Permission to delete own attachments
Permission to browse projects and issues.
This includes filtering using the Issue Navigator.
Permission to modify a collection of issues (global)
Permission to close issues.
Permission to delete all comments
Permission to delete own comments
Permission to modify all comments
Permission to modify only your own comments
Permission to comment on issues
Permission to create attachments.
Permission to create issues.
Permission to created shared objects
Permission to delete issues and comments.
Permission to edit issues.
This includes managing attachments and adding them.
Permission to link issues together and create linked issues.
Permission to manage group filter subscriptions
This constant is deprecated.
Do not use MAX_PERMISSION - it is unsafe due to the way that Java compiles constant ints, and
no longer relevant. Since v6.2.3
This constant should not be used for a number of reasons.
getAllGlobalPermissions()
.
Permissions.Permission
enum is preferred over
MAX_PERMISSION
.
Permission to move issues between projects
Permission to administer a Project
Permission to resolve issues.
Permission to be a System Admin of JIRA
Permission to perform workflow action (transition).
For 6.2.x release it's partially used. It was introduced for veto transition but the actual permission check is performed against the BROWSE permission. This permission is not visible in UI or REST.
In 6.3 release this will be full-fledged permission.
This constant is deprecated.
Use ApplicationAuthorizationService
instead.Since v7.0.
Permission to use JIRA
Permission to edit/remove worklogs
Permission to log work done on an issue.
Get the description of a permission.
Returns an empty string if the permission with given type cannot be found.
permType | permission type |
---|
Given a string approximation, try to guess the type If permName is null then -1 is returned If the permName is not recognised then -1 is returned
permName | permission name |
---|
This method is deprecated.
Log in permission will be changing significantly in JIRA 7.0 ... if you are using this method, then you will need to watch out for announcements in 7.0 Developer upgrade guide. Since v6.2.5
Returns a Set of all the permissions that grant a user the permission to log into JIRA (i.e. 'Use' JIRA).
This method is deprecated.
No longer used. Also you should be using GlobalPermissionKey now instead of int.
permType | permission Type |
---|