|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.user.TargetUserCanUseConfluenceCondition
public class TargetUserCanUseConfluenceCondition
Returns true if the target user has the "can use confluence" permission.
Note that this operates on the *target* user, not the one in the current thread. To check that the
current user can use Confluence, use the RemoteUserCanUseConfluenceCondition
class.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition |
---|
CONTEXT_KEY_HELPER |
Constructor Summary | |
---|---|
TargetUserCanUseConfluenceCondition()
|
Method Summary | |
---|---|
void |
setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
boolean |
shouldDisplay(WebInterfaceContext context)
|
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition |
---|
init, shouldDisplay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TargetUserCanUseConfluenceCondition()
Method Detail |
---|
public boolean shouldDisplay(WebInterfaceContext context)
shouldDisplay
in class BaseConfluenceCondition
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |