com.atlassian.confluence.security
Interface SetSpacePermissionChecker
- All Known Implementing Classes:
- DefaultSetSpacePermissionChecker
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
.
canSetPermission
boolean canSetPermission(User user,
SpacePermission spacePermission)