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.api.baseconditions.BaseCondition,com.atlassian.plugin.web.Condition
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetSpacePermissionManager(SpacePermissionManager spacePermissionManager) booleanshouldDisplay(WebInterfaceContext context) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
Constructor Details
-
TargetUserCanUseConfluenceCondition
public TargetUserCanUseConfluenceCondition()
-
-
Method Details
-
shouldDisplay
- Specified by:
shouldDisplayin classBaseConfluenceCondition
-
setSpacePermissionManager
-