Class DefaultPermissionCheckExemptions
- java.lang.Object
-
- com.atlassian.confluence.security.DefaultPermissionCheckExemptions
-
- All Implemented Interfaces:
PermissionCheckExemptions
@Deprecated public final class DefaultPermissionCheckExemptions extends Object implements PermissionCheckExemptions
Deprecated.since 7.17 UseAdminPermissionCheckExemptions
Allows members of the 'confluence-administrators' group to be exempt from permission checks, or if a temporary request-level exemption has been applied. Caches the result of the group membership check for the duration of the request.
-
-
Constructor Summary
Constructors Constructor Description DefaultPermissionCheckExemptions(UserAccessor userAccessor, com.atlassian.crowd.embedded.api.CrowdService crowdService)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isExempt(com.atlassian.user.User user)
Deprecated.Returns true if the user is exempt from permission checks, otherwise false.
-
-
-
Constructor Detail
-
DefaultPermissionCheckExemptions
public DefaultPermissionCheckExemptions(UserAccessor userAccessor, com.atlassian.crowd.embedded.api.CrowdService crowdService)
Deprecated.- Since:
- 7.5
-
-
Method Detail
-
isExempt
public boolean isExempt(com.atlassian.user.User user)
Deprecated.Description copied from interface:PermissionCheckExemptions
Returns true if the user is exempt from permission checks, otherwise false. The result of calling this should not be cached, because permission exemptions can change within a single request.- Specified by:
isExempt
in interfacePermissionCheckExemptions
-
-