java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.jira.permission.JiraPermissionHolderType |
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).
Permission holder types defined by JIRA.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JiraPermissionHolderType | ANYONE | Anyone, including anonymous users. | |||||||||
JiraPermissionHolderType | APPLICATION_ROLE | Application Role. | |||||||||
JiraPermissionHolderType | ASSIGNEE | Issue assignee. | |||||||||
JiraPermissionHolderType | ASSIGNEE_WITH_ASSIGNABLE_PERMISSION | This type can be used only with BROWSE_PROJECTS permission to
show only projects where the user has the assignable permission and issues within that where they are the assignee. |
|||||||||
JiraPermissionHolderType | GROUP | Group. | |||||||||
JiraPermissionHolderType | GROUP_CUSTOM_FIELD | Group selected in the group custom field specified by the parameter. | |||||||||
JiraPermissionHolderType | PROJECT_LEAD | Project lead. | |||||||||
JiraPermissionHolderType | PROJECT_ROLE | Project role. | |||||||||
JiraPermissionHolderType | REPORTER | Issue reporter. | |||||||||
JiraPermissionHolderType | REPORTER_WITH_CREATE_PERMISSION | This type can be used only with BROWSE_PROJECTS permission to
show only projects where the user has create permission and issues within that where they are the reporter. |
|||||||||
JiraPermissionHolderType | USER | Specific user. | |||||||||
JiraPermissionHolderType | USER_CUSTOM_FIELD | User selected in the user custom field specified by the parameter. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Given a type key and an optional parameter tries to resolve the type.
| |||||||||||
Key as stored in the database.
| |||||||||||
Whether the type requires additional argument (e.g.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.permission.PermissionHolderType
| |||||||||||
From interface
java.lang.Comparable
|
Anyone, including anonymous users. No parameter.
Application Role. Parameter is required and it should be a valid application name.
This type can be used only with BROWSE_PROJECTS
permission to
show only projects where the user has the assignable permission and issues within that where they are the assignee.
Note: This holder type is optional and it's not normally available.
Group. Parameter is required and it should be a group name.
Group selected in the group custom field specified by the parameter.
This type can be used only with BROWSE_PROJECTS
permission to
show only projects where the user has create permission and issues within that where they are the reporter.
Note: This holder type is optional and it's not normally available.
User selected in the user custom field specified by the parameter.
Given a type key and an optional parameter tries to resolve the type. Parameter is required as an argument because there are some types which have the same key but are differentiated by the parameter presence or absence.
key | type key |
---|---|
parameter | parameter. The value doesn't really matter, rather whether it's provided or not. |
none
otherwise
Whether the type requires additional argument (e.g. user id).