com.atlassian.confluence.security
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
.
canSetPermission
boolean canSetPermission(com.atlassian.user.User user,
SpacePermission spacePermission)
Copyright © 2003-2013 Atlassian. All Rights Reserved.