Class SpaceFunctionPermissionCondition
java.lang.Object
com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
com.atlassian.confluence.plugin.descriptor.web.conditions.SpaceFunctionPermissionCondition
- All Implemented Interfaces:
com.atlassian.plugin.web.api.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
A condition for checking the space function level permissions such as create space. The conditions to check should be
specified within the
permission
parameter as a comma separated list.- Since:
- 2.10.2
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setSpacePermissionManager
(SpacePermissionManager spacePermissionManager) boolean
shouldDisplay
(WebInterfaceContext context) Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
shouldDisplay
-
Constructor Details
-
SpaceFunctionPermissionCondition
public SpaceFunctionPermissionCondition()
-
-
Method Details
-
init
- Specified by:
init
in interfacecom.atlassian.plugin.web.Condition
- Overrides:
init
in classBaseConfluenceCondition
- Throws:
com.atlassian.plugin.PluginParseException
-
shouldDisplay
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setSpacePermissionManager
-