public abstract class SimpleIssueFieldSecurityType extends AbstractIssueFieldSecurityType
Constructor and Description |
---|
SimpleIssueFieldSecurityType() |
Modifier and Type | Method and Description |
---|---|
protected 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(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.
|
protected boolean |
hasIssuePermission(com.atlassian.crowd.embedded.api.User user,
boolean issueCreation,
Issue issue,
String parameter) |
getFieldName, getQuery, getQuery, getQueryForProject, getQueryForSecurityLevel, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasProjectPermission, hasProjectPermission
getArgumentDisplay, isValidForPermission
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUsers
doValidation, getDisplayName, getType
protected abstract String getField()
protected boolean hasIssuePermission(com.atlassian.crowd.embedded.api.User user, boolean issueCreation, org.ofbiz.core.entity.GenericValue issueGv, String argument)
hasIssuePermission
in class AbstractIssueFieldSecurityType
user
- the User for whom permission is being determined.issueCreation
- not used.issueGv
- the issue.argument
- a parameter to be optionally used by overriders.protected boolean hasIssuePermission(com.atlassian.crowd.embedded.api.User user, boolean issueCreation, Issue issue, String parameter)
hasIssuePermission
in class AbstractIssueFieldSecurityType
Copyright © 2002-2015 Atlassian. All Rights Reserved.