Class AdminPermissionCheckExemptions
java.lang.Object
com.atlassian.confluence.impl.security.AdminPermissionCheckExemptions
- All Implemented Interfaces:
PermissionCheckExemptions
public final class AdminPermissionCheckExemptions
extends Object
implements PermissionCheckExemptions
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
ConstructorsConstructorDescriptionAdminPermissionCheckExemptions
(DisabledUserManager disabledUserManager, com.atlassian.crowd.embedded.api.CrowdService crowdService) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isExempt
(ConfluenceUser user) Returns true if the user is exempt from permission checks, otherwise false.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.security.PermissionCheckExemptions
isExempt
-
Constructor Details
-
AdminPermissionCheckExemptions
public AdminPermissionCheckExemptions(DisabledUserManager disabledUserManager, com.atlassian.crowd.embedded.api.CrowdService crowdService)
-
-
Method Details
-
isExempt
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
-