com.atlassian.confluence.plugin.descriptor.web.conditions.user
Class TargetUserCanUseConfluenceCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.user.TargetUserCanUseConfluenceCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.Condition
- Direct Known Subclasses:
- UserCanUseConfluenceCondition
public class TargetUserCanUseConfluenceCondition
- extends BaseConfluenceCondition
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TargetUserCanUseConfluenceCondition
public TargetUserCanUseConfluenceCondition()
shouldDisplay
public boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in class BaseConfluenceCondition
setSpacePermissionManager
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
Copyright © 2003-2013 Atlassian. All Rights Reserved.