Interface SetSpacePermissionChecker
- All Known Implementing Classes:
DefaultSetSpacePermissionChecker,SpacePermissionDefaultsPermissionChecker
public interface SetSpacePermissionChecker
Class that checks whether a user has sufficient privileges to set a
SpacePermission.
Setting space permissions includes both being able to add a new one or removing an exising one.
This class is necessary as we cannot perform this check through the PermissionManager.-
Method Summary
Modifier and TypeMethodDescriptionbooleancanSetPermission(ConfluenceUser user, SpacePermission spacePermission) default booleancanSetPermission(com.atlassian.user.User user, SpacePermission spacePermission) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
canSetPermission
- Since:
- 8.8
-
canSetPermission
@Deprecated(forRemoval=true) default boolean canSetPermission(com.atlassian.user.User user, SpacePermission spacePermission) Deprecated, for removal: This API element is subject to removal in a future version.since 8.8 usecanSetPermission(ConfluenceUser, SpacePermission)
-
canSetPermission(ConfluenceUser, SpacePermission)