Package com.atlassian.jira.security.type
Class SimpleIssueFieldSecurityType
java.lang.Object
com.atlassian.jira.security.type.AbstractSecurityType
com.atlassian.jira.security.type.AbstractIssueFieldSecurityType
com.atlassian.jira.security.type.SimpleIssueFieldSecurityType
- All Implemented Interfaces:
SchemeType
,SecurityType
- Direct Known Subclasses:
CurrentAssignee
,CurrentAssigneeHasAssignablePermission
,CurrentReporter
,CurrentReporterHasCreatePermission
The common class for IssueField SecurityTypes that rely on a simple field (ie a field of the Issue Generic Value).
- Since:
- v4.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
getField()
protected abstract String
getFieldValue
(Issue issue) Returns the user key value for the given issue for the field that this security type checks.protected boolean
hasIssuePermission
(ApplicationUser user, boolean issueCreation, Issue issue, String parameter) Methods inherited from class com.atlassian.jira.security.type.AbstractIssueFieldSecurityType
getFieldName, getPermissionFieldContents, getPermissionFieldContents, getPermissionFieldContentsForProject, getPermissionFieldContentsForSecurityLevel, hasPermission, hasPermission, hasPermission, hasPermission, hasProjectPermission, isTopLevelIssueSecurityPermission, isTopLevelProjectPermission
Methods inherited from class com.atlassian.jira.security.type.AbstractSecurityType
getArgumentDisplay, isValidForPermission
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.scheme.SchemeType
doValidation, getDisplayName, getType
Methods inherited from interface com.atlassian.jira.security.type.SecurityType
getUsers, getUsers
-
Constructor Details
-
SimpleIssueFieldSecurityType
public SimpleIssueFieldSecurityType()
-
-
Method Details
-
getField
-
hasIssuePermission
protected boolean hasIssuePermission(ApplicationUser user, boolean issueCreation, Issue issue, String parameter) - Specified by:
hasIssuePermission
in classAbstractIssueFieldSecurityType
-
getFieldValue
Returns the user key value for the given issue for the field that this security type checks.- Parameters:
issue
- the Issue- Returns:
- the user key value for the given issue for the field that this security type checks.
-