ProjectPermissions
and GlobalPermissionKey
. Since v6.3.@Deprecated public final class Permissions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Permissions.Permission
Deprecated.
Experimental API, do not use, it may change without notice...
|
static class |
Permissions.Type
Deprecated.
Extremely Experimental API, do not use, it may change without notice...
|
Modifier and Type | Field and Description |
---|---|
static int |
ADMINISTER
Deprecated.
Permission to administer JIRA
|
static int |
ASSIGN_ISSUE
Deprecated.
Permission to assign issues to other users.
|
static int |
ASSIGNABLE_USER
Deprecated.
Permission to be assigned issues.
|
static int |
ATTACHMENT_DELETE_ALL
Deprecated.
Permission to delete all attachments
|
static int |
ATTACHMENT_DELETE_OWN
Deprecated.
Permission to delete own attachments
|
static int |
BROWSE
Deprecated.
Permission to browse projects and issues.
|
static int |
BULK_CHANGE
Deprecated.
Permission to modify a collection of issues (global)
|
static int |
CLOSE_ISSUE
Deprecated.
Permission to close issues.
|
static int |
COMMENT_DELETE_ALL
Deprecated.
Permission to delete all comments
|
static int |
COMMENT_DELETE_OWN
Deprecated.
Permission to delete own comments
|
static int |
COMMENT_EDIT_ALL
Deprecated.
Permission to modify all comments
|
static int |
COMMENT_EDIT_OWN
Deprecated.
Permission to modify only your own comments
|
static int |
COMMENT_ISSUE
Deprecated.
Permission to comment on issues
|
static int |
CREATE_ATTACHMENT
Deprecated.
Permission to create attachments.
|
static int |
CREATE_ISSUE
Deprecated.
Permission to create issues.
|
static int |
CREATE_SHARED_OBJECTS
Deprecated.
Permission to created shared objects
|
static int |
DELETE_ISSUE
Deprecated.
Permission to delete issues and comments.
|
static int |
EDIT_ISSUE
Deprecated.
Permission to edit issues.
|
static int |
LINK_ISSUE
Deprecated.
Permission to link issues together and create linked issues.
|
static int |
MANAGE_GROUP_FILTER_SUBSCRIPTIONS
Deprecated.
Permission to manage group filter subscriptions
|
static int |
MANAGE_WATCHER_LIST
Deprecated.
|
static int |
MAX_PERMISSION
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
|
static int |
MODIFY_REPORTER
Deprecated.
|
static int |
MOVE_ISSUE
Deprecated.
Permission to move issues between projects
|
static int |
PROJECT_ADMIN
Deprecated.
Permission to administer a Project
|
static int |
RESOLVE_ISSUE
Deprecated.
Permission to resolve issues.
|
static int |
SCHEDULE_ISSUE
Deprecated.
|
static int |
SET_ISSUE_SECURITY
Deprecated.
|
static int |
SYSTEM_ADMIN
Deprecated.
Permission to be a System Admin of JIRA
|
static int |
TRANSITION_ISSUE
Deprecated.
Permission to perform workflow action (transition).
|
static int |
USE
Deprecated.
Use
ApplicationAuthorizationService instead.Since v7.0. |
static int |
USER_PICKER
Deprecated.
|
static int |
VIEW_VERSION_CONTROL
Deprecated.
|
static int |
VIEW_VOTERS_AND_WATCHERS
Deprecated.
|
static int |
VIEW_WORKFLOW_READONLY
Deprecated.
|
static int |
WORK_ISSUE
Deprecated.
Permission to log work done on an issue.
|
static int |
WORKLOG_DELETE_ALL
Deprecated.
|
static int |
WORKLOG_DELETE_OWN
Deprecated.
|
static int |
WORKLOG_EDIT_ALL
Deprecated.
|
static int |
WORKLOG_EDIT_OWN
Deprecated.
Permission to edit/remove worklogs
|
Constructor and Description |
---|
Permissions()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
getDescription(int permType)
Deprecated.
Get the description of a permission.
|
static String |
getShortName(int id)
Deprecated.
|
static int |
getType(String permName)
Deprecated.
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
|
static Set<Integer> |
getUsePermissions()
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
|
static boolean |
isAdministrativePermission(int permType)
Deprecated.
No longer used. Also you should be using GlobalPermissionKey now instead of int.
|
static boolean |
isGlobalPermission(int permType)
Deprecated.
This method is a shim. call
GlobalPermissionManager.isGlobalPermission(int) instead. |
public static final int ADMINISTER
@Deprecated public static final int USE
ApplicationAuthorizationService
instead.Since v7.0.public static final int SYSTEM_ADMIN
public static final int PROJECT_ADMIN
public static final int BROWSE
This includes filtering using the Issue Navigator.
public static final int CREATE_ISSUE
public static final int EDIT_ISSUE
This includes managing attachments and adding them.
public static final int ASSIGN_ISSUE
public static final int RESOLVE_ISSUE
public static final int COMMENT_ISSUE
public static final int DELETE_ISSUE
public static final int ASSIGNABLE_USER
public static final int CLOSE_ISSUE
@ExperimentalApi public static final int TRANSITION_ISSUE
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.
public static final int CREATE_ATTACHMENT
public static final int WORK_ISSUE
public static final int LINK_ISSUE
public static final int CREATE_SHARED_OBJECTS
public static final int MANAGE_GROUP_FILTER_SUBSCRIPTIONS
public static final int COMMENT_EDIT_ALL
public static final int COMMENT_EDIT_OWN
public static final int MOVE_ISSUE
public static final int SET_ISSUE_SECURITY
public static final int USER_PICKER
public static final int SCHEDULE_ISSUE
public static final int VIEW_VERSION_CONTROL
public static final int MODIFY_REPORTER
public static final int VIEW_VOTERS_AND_WATCHERS
public static final int MANAGE_WATCHER_LIST
public static final int BULK_CHANGE
public static final int COMMENT_DELETE_ALL
public static final int COMMENT_DELETE_OWN
public static final int ATTACHMENT_DELETE_ALL
public static final int ATTACHMENT_DELETE_OWN
public static final int WORKLOG_EDIT_OWN
public static final int WORKLOG_EDIT_ALL
public static final int WORKLOG_DELETE_OWN
public static final int WORKLOG_DELETE_ALL
public static final int VIEW_WORKFLOW_READONLY
@Deprecated public static final int MAX_PERMISSION
GlobalPermissionManager.getAllGlobalPermissions()
.
Permissions.Permission
enum is preferred over
MAX_PERMISSION
.
public static Set<Integer> getUsePermissions()
public static int getType(String permName)
permName
- permission namepublic static String getShortName(int id)
public static String getDescription(int permType)
Returns an empty string if the permission with given type cannot be found.
permType
- permission typepublic static boolean isGlobalPermission(int permType)
GlobalPermissionManager.isGlobalPermission(int)
instead.public static boolean isAdministrativePermission(int permType)
permType
- permission TypeCopyright © 2002-2015 Atlassian. All Rights Reserved.