java.lang.Object | |||
↳ | com.atlassian.jira.security.type.AbstractSecurityType | ||
↳ | com.atlassian.jira.security.type.AbstractIssueFieldSecurityType | ||
↳ | com.atlassian.jira.security.type.GroupCF |
Issue Security and Permission type for a Group Selector custom field, or select-list custom fields which specify groups.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | TYPE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get user specified by the Custom Field
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the field name for this Issue Field-based Security Type given the parameter in the saved configuration.
| |||||||||||
Gets called to produce the Lucene query for a project
| |||||||||||
Produces a Lucene query for a given issue security type such that documents
match the query only when the given user is defined for the issue by this
custom field in the given security.
| |||||||||||
Determines if the given user has permission to see the given issue by
using the custom field with the given custom field name to look up a
group.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.security.type.AbstractIssueFieldSecurityType
| |||||||||||
From class
com.atlassian.jira.security.type.AbstractSecurityType
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.scheme.SchemeType
| |||||||||||
From interface
com.atlassian.jira.security.type.SecurityType
|
Get user specified by the Custom Field
customFieldId | eg. 'customfield_10000' |
---|
Get the field name for this Issue Field-based Security Type given the parameter in the saved configuration.
Some Field based permissions are based on hard-coded fields like assignee and reporter in which case the parameter is not used. Other types use the parameter to name the particular User or Group custom field that is used for the permission.
parameter | the parameter as saved in the config |
---|
Gets called to produce the Lucene query for a project
project | The project for which to construct a query |
---|---|
searcher | The user who is searching to add to the query |
null
if the searcher is either
null
or not a known user
Produces a Lucene query for a given issue security type such that documents match the query only when the given user is defined for the issue by this custom field in the given security.
issueSecurity | the security defined by this IssueFieldSecurityType instance. |
---|---|
searcher | the user. |
null
if user is either
null
or not a known user
Determines if the given user has permission to see the given issue by using the custom field with the given custom field name to look up a group. Returns true only if the user is in the group.
user | the user for whom permission is being determined. |
---|---|
issueCreation | not used. |
issueGv | the issue to which permission is being determined |
customFieldName | the name of the custom field. |