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
public abstract class SimpleIssueFieldSecurityType
- extends AbstractIssueFieldSecurityType
The common class for IssueField SecurityTypes that rely on a simple field (ie a field of the Issue Generic Value).
- Since:
- v4.3
Method Summary |
protected abstract String |
getField()
|
protected boolean |
hasIssuePermission(com.atlassian.crowd.embedded.api.User user,
boolean issueCreation,
org.ofbiz.core.entity.GenericValue issueGv,
String argument)
Defines whether the given user has permission to see the given issue. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleIssueFieldSecurityType
public SimpleIssueFieldSecurityType()
getField
protected abstract String getField()
hasIssuePermission
protected boolean hasIssuePermission(com.atlassian.crowd.embedded.api.User user,
boolean issueCreation,
org.ofbiz.core.entity.GenericValue issueGv,
String argument)
- Defines whether the given user has permission to see the given issue.
- Specified by:
hasIssuePermission
in class AbstractIssueFieldSecurityType
- Parameters:
user
- the User for whom permission is being determined.issueCreation
- not used.issueGv
- the issue.argument
- a parameter to be optionally used by overriders.
- Returns:
- true only if the User has permission to see the issue, false if issueGv is not an issue.
Copyright © 2002-2012 Atlassian. All Rights Reserved.