com.atlassian.jira.security
Enum Permissions.Permission

java.lang.Object
  extended by java.lang.Enum<Permissions.Permission>
      extended by com.atlassian.jira.security.Permissions.Permission
All Implemented Interfaces:
Serializable, Comparable<Permissions.Permission>
Enclosing class:
Permissions

@ExperimentalApi
public static enum Permissions.Permission
extends Enum<Permissions.Permission>

Experimental API, do not use, it may change without notice... Plans are afoot to add custom permissions ... at which point this enum would be core permissions only ...


Enum Constant Summary
ADMINISTER
           
ASSIGN_ISSUE
           
ASSIGNABLE_USER
           
ATTACHMENT_DELETE_ALL
           
ATTACHMENT_DELETE_OWN
           
BROWSE
           
BULK_CHANGE
           
CLOSE_ISSUE
           
COMMENT_DELETE_ALL
           
COMMENT_DELETE_OWN
           
COMMENT_EDIT_ALL
           
COMMENT_EDIT_OWN
           
COMMENT_ISSUE
           
CREATE_ATTACHMENT
           
CREATE_ISSUE
           
CREATE_SHARED_OBJECTS
           
DELETE_ISSUE
           
EDIT_ISSUE
           
LINK_ISSUE
           
MANAGE_GROUP_FILTER_SUBSCRIPTIONS
           
MANAGE_WATCHER_LIST
           
MODIFY_REPORTER
           
MOVE_ISSUE
           
PROJECT_ADMIN
           
RESOLVE_ISSUE
           
SCHEDULE_ISSUE
           
SET_ISSUE_SECURITY
           
SYSTEM_ADMIN
           
USE
           
USER_PICKER
          Ability to select a user or group from a popup window.
VIEW_VERSION_CONTROL
           
VIEW_VOTERS_AND_WATCHERS
           
VIEW_WORKFLOW_READONLY
           
WORK_ISSUE
           
WORKLOG_DELETE_ALL
           
WORKLOG_DELETE_OWN
           
WORKLOG_EDIT_ALL
           
WORKLOG_EDIT_OWN
           
 
Method Summary
 String getDescriptionKey()
           
 int getId()
           
 String getNameKey()
           
 Permissions.Type getType()
           
static Permissions.Permission valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Permissions.Permission[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADMINISTER

public static final Permissions.Permission ADMINISTER

USE

public static final Permissions.Permission USE

SYSTEM_ADMIN

public static final Permissions.Permission SYSTEM_ADMIN

CREATE_SHARED_OBJECTS

public static final Permissions.Permission CREATE_SHARED_OBJECTS

MANAGE_GROUP_FILTER_SUBSCRIPTIONS

public static final Permissions.Permission MANAGE_GROUP_FILTER_SUBSCRIPTIONS

BULK_CHANGE

public static final Permissions.Permission BULK_CHANGE

USER_PICKER

public static final Permissions.Permission USER_PICKER
Ability to select a user or group from a popup window. Users with this permission will be able to see names of all users and groups in the system.


PROJECT_ADMIN

public static final Permissions.Permission PROJECT_ADMIN

BROWSE

public static final Permissions.Permission BROWSE

VIEW_VERSION_CONTROL

public static final Permissions.Permission VIEW_VERSION_CONTROL

VIEW_WORKFLOW_READONLY

public static final Permissions.Permission VIEW_WORKFLOW_READONLY

CREATE_ISSUE

public static final Permissions.Permission CREATE_ISSUE

EDIT_ISSUE

public static final Permissions.Permission EDIT_ISSUE

ASSIGN_ISSUE

public static final Permissions.Permission ASSIGN_ISSUE

RESOLVE_ISSUE

public static final Permissions.Permission RESOLVE_ISSUE

DELETE_ISSUE

public static final Permissions.Permission DELETE_ISSUE

ASSIGNABLE_USER

public static final Permissions.Permission ASSIGNABLE_USER

CLOSE_ISSUE

public static final Permissions.Permission CLOSE_ISSUE

LINK_ISSUE

public static final Permissions.Permission LINK_ISSUE

MOVE_ISSUE

public static final Permissions.Permission MOVE_ISSUE

SET_ISSUE_SECURITY

public static final Permissions.Permission SET_ISSUE_SECURITY

SCHEDULE_ISSUE

public static final Permissions.Permission SCHEDULE_ISSUE

MODIFY_REPORTER

public static final Permissions.Permission MODIFY_REPORTER

VIEW_VOTERS_AND_WATCHERS

public static final Permissions.Permission VIEW_VOTERS_AND_WATCHERS

MANAGE_WATCHER_LIST

public static final Permissions.Permission MANAGE_WATCHER_LIST

COMMENT_ISSUE

public static final Permissions.Permission COMMENT_ISSUE

COMMENT_EDIT_ALL

public static final Permissions.Permission COMMENT_EDIT_ALL

COMMENT_EDIT_OWN

public static final Permissions.Permission COMMENT_EDIT_OWN

COMMENT_DELETE_ALL

public static final Permissions.Permission COMMENT_DELETE_ALL

COMMENT_DELETE_OWN

public static final Permissions.Permission COMMENT_DELETE_OWN

CREATE_ATTACHMENT

public static final Permissions.Permission CREATE_ATTACHMENT

ATTACHMENT_DELETE_ALL

public static final Permissions.Permission ATTACHMENT_DELETE_ALL

ATTACHMENT_DELETE_OWN

public static final Permissions.Permission ATTACHMENT_DELETE_OWN

WORK_ISSUE

public static final Permissions.Permission WORK_ISSUE

WORKLOG_EDIT_OWN

public static final Permissions.Permission WORKLOG_EDIT_OWN

WORKLOG_EDIT_ALL

public static final Permissions.Permission WORKLOG_EDIT_ALL

WORKLOG_DELETE_OWN

public static final Permissions.Permission WORKLOG_DELETE_OWN

WORKLOG_DELETE_ALL

public static final Permissions.Permission WORKLOG_DELETE_ALL
Method Detail

values

public static Permissions.Permission[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Permissions.Permission c : Permissions.Permission.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Permissions.Permission valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getId

public int getId()

getType

public Permissions.Type getType()

getNameKey

public String getNameKey()

getDescriptionKey

public String getDescriptionKey()


Copyright © 2002-2014 Atlassian. All Rights Reserved.