|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition com.atlassian.jira.plugin.webfragment.conditions.UserIsSysAdminCondition
public class UserIsSysAdminCondition
Will return shouldDisplay of true if the user has the Permissions.SYSTEM_ADMIN
global permission.
Constructor Summary | |
---|---|
UserIsSysAdminCondition(PermissionManager permissionManager)
|
Method Summary | |
---|---|
boolean |
shouldDisplay(com.opensymphony.user.User user,
JiraHelper jiraHelper)
Returns true if the user is logged in and has system admin rights. |
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition |
---|
init, shouldDisplay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserIsSysAdminCondition(PermissionManager permissionManager)
Method Detail |
---|
public boolean shouldDisplay(com.opensymphony.user.User user, JiraHelper jiraHelper)
shouldDisplay
in class AbstractJiraCondition
user
- current userjiraHelper
- JIRA helper - not used
Permissions.SYSTEM_ADMIN
permission.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |