PermissionManager
, GlobalPermissionManager
. Since v6.3.@Deprecated public enum Permission extends Enum<Permission>
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Deprecated.
This method returns the description of the permission in user selected language.
|
String |
getDescriptionKey()
Deprecated.
|
int |
getId()
Deprecated.
|
String |
getName()
Deprecated.
This method returns the name of the permission in English (ignoring user locale).
|
String |
getNameKey()
Deprecated.
|
static Permission |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Permission[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission ADMINISTER
public static final Permission USE
public static final Permission SYSTEM_ADMIN
public static final Permission CREATE_SHARED_OBJECTS
public static final Permission MANAGE_GROUP_FILTER_SUBSCRIPTIONS
public static final Permission BULK_CHANGE
public static final Permission USER_PICKER
public static final Permission PROJECT_ADMIN
public static final Permission BROWSE
public static final Permission VIEW_VERSION_CONTROL
public static final Permission VIEW_WORKFLOW_READONLY
public static final Permission CREATE_ISSUE
public static final Permission EDIT_ISSUE
public static final Permission ASSIGN_ISSUE
public static final Permission RESOLVE_ISSUE
public static final Permission DELETE_ISSUE
public static final Permission ASSIGNABLE_USER
public static final Permission CLOSE_ISSUE
public static final Permission TRANSITION_ISSUE
public static final Permission LINK_ISSUE
public static final Permission MOVE_ISSUE
public static final Permission SET_ISSUE_SECURITY
public static final Permission SCHEDULE_ISSUE
public static final Permission MODIFY_REPORTER
public static final Permission VIEW_VOTERS_AND_WATCHERS
public static final Permission MANAGE_WATCHER_LIST
public static final Permission COMMENT_ISSUE
public static final Permission COMMENT_EDIT_ALL
public static final Permission COMMENT_EDIT_OWN
public static final Permission COMMENT_DELETE_ALL
public static final Permission COMMENT_DELETE_OWN
public static final Permission CREATE_ATTACHMENT
public static final Permission ATTACHMENT_DELETE_ALL
public static final Permission ATTACHMENT_DELETE_OWN
public static final Permission WORK_ISSUE
public static final Permission WORKLOG_EDIT_OWN
public static final Permission WORKLOG_EDIT_ALL
public static final Permission WORKLOG_DELETE_OWN
public static final Permission WORKLOG_DELETE_ALL
public static Permission[] values()
for (Permission c : Permission.values()) System.out.println(c);
public static Permission valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public String getName()
public String getNameKey()
public String getDescription()
public String getDescriptionKey()
Copyright © 2002-2021 Atlassian. All Rights Reserved.