Class SpaceRetentionPolicyPermissionResource
- java.lang.Object
-
- com.atlassian.confluence.plugins.retentionrules.rest.SpaceRetentionPolicyPermissionResource
-
public class SpaceRetentionPolicyPermissionResource extends Object
-
-
Constructor Summary
Constructors Constructor Description SpaceRetentionPolicyPermissionResource(RetentionFeatureChecker featureChecker, RetentionPolicyPermissionService retentionPolicyPermissionService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getUserPermissionForSpace(String spaceKey)
Check the current user's permission to edit a given space's retention policy.
-
-
-
Constructor Detail
-
SpaceRetentionPolicyPermissionResource
public SpaceRetentionPolicyPermissionResource(RetentionFeatureChecker featureChecker, RetentionPolicyPermissionService retentionPolicyPermissionService)
-
-
Method Detail
-
getUserPermissionForSpace
public javax.ws.rs.core.Response getUserPermissionForSpace(String spaceKey)
Check the current user's permission to edit a given space's retention policy.
- Parameters:
spaceKey
- the key of the space to check permission for- Returns:
- a boolean value, either the user can edit the space's retention policy or not
-
-