Protected Methods |
String
|
getFieldName(String parameter)
Get the field name for this Issue Field-based Security Type given the parameter in the saved configuration.
|
boolean
|
hasIssuePermission(User user, boolean issueCreation, Issue issue, String parameter)
|
boolean
|
hasIssuePermission(User user, boolean issueCreation, GenericValue issueGv, String customFieldName)
Defines whether the given user has permission to see the given issue using
the issue's value of the named custom field.
|
boolean
|
hasProjectPermission(User user, boolean issueCreation, GenericValue project)
|
boolean
|
hasProjectPermission(User user, boolean issueCreation, Project project)
|
[Expand]
Inherited Methods |
From class
com.atlassian.jira.security.type.AbstractIssueFieldSecurityType
abstract
String
|
getFieldName(String parameter)
Get the field name for this Issue Field-based Security Type given the parameter in the saved configuration.
|
Query
|
getQuery(User searcher, Project project, IssueSecurityLevel securityLevel, String parameter)
|
Query
|
getQuery(User searcher, Project project, String parameter)
|
@Nullable
BooleanQuery
|
getQueryForProject(Project project, User searcher, String fieldName)
Gets called to produce the Lucene query for a project
|
@Nullable
BooleanQuery
|
getQueryForSecurityLevel(IssueSecurityLevel issueSecurity, User searcher, String fieldName)
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.
|
abstract
boolean
|
hasIssuePermission(User user, boolean issueCreation, GenericValue issueGv, String argument)
|
abstract
boolean
|
hasIssuePermission(User user, boolean issueCreation, Issue issue, String parameter)
|
boolean
|
hasPermission(Issue issue, String parameter, User user, boolean issueCreation)
|
boolean
|
hasPermission(GenericValue entity, String argument)
|
boolean
|
hasPermission(Issue issue, String argument)
|
boolean
|
hasPermission(Project project, String argument)
|
boolean
|
hasPermission(GenericValue entity, String argument, User user, boolean issueCreation)
Decides if the given User has permission to see the given issue or project.
|
boolean
|
hasPermission(Project project, String parameter, User user, boolean issueCreation)
|
abstract
boolean
|
hasProjectPermission(User user, boolean issueCreation, GenericValue project)
|
abstract
boolean
|
hasProjectPermission(User user, boolean issueCreation, Project project)
|
|
From class
com.atlassian.jira.security.type.AbstractSecurityType
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.atlassian.jira.scheme.SchemeType
void
|
doValidation(String key, Map<String, String> parameters, JiraServiceContext jiraServiceContext)
|
String
|
getDisplayName()
|
String
|
getType()
|
boolean
|
hasPermission(Issue issue, String parameter, User user, boolean issueCreation)
Determines if this permission type is satisfied.
|
boolean
|
hasPermission(GenericValue entity, String argument)
|
boolean
|
hasPermission(GenericValue entity, String argument, User user, boolean issueCreation)
|
boolean
|
hasPermission(Project project, String parameter, User user, boolean issueCreation)
Determines if this permission type is satisfied.
|
boolean
|
hasPermission(Issue issue, String parameter)
Determines if this permission type is satisfied for anonymous access.
|
boolean
|
hasPermission(Project project, String parameter)
Determines if this permission type is satisfied for anonymous access.
|
boolean
|
isValidForPermission(ProjectPermissionKey permissionKey)
This method determines if this SchemeType is valid for the given permissionKey.
|
|
From interface
com.atlassian.jira.security.type.SecurityType
|