|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.type.AbstractSecurityType com.atlassian.jira.security.type.AbstractProjectsSecurityType com.atlassian.jira.security.type.SingleUser
Field Summary | |
static java.lang.String |
DESC
|
Constructor Summary | |
SingleUser()
|
Method Summary | |
boolean |
doValidation(java.lang.String key,
java.util.Map parameters)
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getType()
|
boolean |
hasPermission(GenericValue entity,
java.lang.String argument)
Interface for determining if a permission type has the permission |
boolean |
hasPermission(GenericValue entity,
java.lang.String argument,
User user)
Determines if the single user is the same as the current user. |
Methods inherited from class com.atlassian.jira.security.type.AbstractProjectsSecurityType |
getQuery |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DESC
Constructor Detail |
public SingleUser()
Method Detail |
public java.lang.String getDisplayName()
public java.lang.String getType()
public boolean doValidation(java.lang.String key, java.util.Map parameters)
public boolean hasPermission(GenericValue entity, java.lang.String argument)
SchemeType
entity
- argument
-
AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String)
,
AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String)
,
ProjectLead.hasPermission(GenericValue, java.lang.String)
,
hasPermission(GenericValue, java.lang.String)
,
GroupDropdown.hasPermission(GenericValue, java.lang.String)
public boolean hasPermission(GenericValue entity, java.lang.String argument, User user)
entity
- Not needed for this implementationargument
- The user name that the check is based onuser
- User to check the permission on. If it is null then the check is made on the current user
AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String)
,
AbstractIssueFieldSecurityType.hasPermission(GenericValue, java.lang.String)
,
ProjectLead.hasPermission(GenericValue, java.lang.String)
,
GroupDropdown.hasPermission(GenericValue, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |