public class RecoveryAwareCGCachingSpacePermissionManager extends CoarseGrainedCachingSpacePermissionManager
CoarseGrainedCachingSpacePermissionManager
that supports recovery mode.
The class is introduced due to that the current design of SpacePermissionManager does not support a clean decoration.spacePermissionDao
confluenceAccessManager, permissionCheckExemptions, spacePermissionAccessMapper
Constructor and Description |
---|
RecoveryAwareCGCachingSpacePermissionManager(PermissionCheckExemptions permissionCheckExemptions,
com.atlassian.vcache.VCacheFactory cacheFactory,
SpacePermissionManagerInternal delegate,
SpacePermissionDao spacePermissionDao,
com.atlassian.event.api.EventPublisher eventPublisher,
ConfluenceAccessManager confluenceAccessManager,
SpacePermissionAccessMapper spacePermissionAccessMapper,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
com.atlassian.util.concurrent.Supplier<UserAccessor> userAccessor,
AccessModeManager accessModeManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPermissionNoExemptions(String permissionType,
@Nullable Space space,
@Nullable com.atlassian.user.User remoteUser)
Returns true if the user has the specified permission on the target space.
|
createDefaultSpacePermissions, createPrivateSpacePermissions, flushCaches, getAllPermissionsForGroup, getGlobalPermissions, getGlobalPermissions, getGroupNamesWithPermission, getGroupsForPermissionType, getGroupsWithPermissions, getUsersForPermissionType, getUsersWithPermissions, permissionExists, prime, removeAllPermissions, removeAllPermissions, removeAllPermissionsForGroup, removeAllPermissionsForGroup, removeAllUserPermissions, removeAllUserPermissions, removeGlobalPermissionForUser, removeGlobalPermissionForUser, removePermission, removePermission, savePermission, savePermission
getAccessModeManager, getDefaultGlobalPermissions, getUserAccessor, groupHasPermission, hasAllPermissions, hasGlobalPermissionViaGroups, hasPermission, hasPermissionForSpace, isPermittedInReadOnlyAccessMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultGlobalPermissions, groupHasPermission, hasAllPermissions, hasPermission, hasPermissionForSpace, isPermittedInReadOnlyAccessMode
public RecoveryAwareCGCachingSpacePermissionManager(PermissionCheckExemptions permissionCheckExemptions, com.atlassian.vcache.VCacheFactory cacheFactory, SpacePermissionManagerInternal delegate, SpacePermissionDao spacePermissionDao, com.atlassian.event.api.EventPublisher eventPublisher, ConfluenceAccessManager confluenceAccessManager, SpacePermissionAccessMapper spacePermissionAccessMapper, com.atlassian.crowd.embedded.api.CrowdService crowdService, com.atlassian.util.concurrent.Supplier<UserAccessor> userAccessor, AccessModeManager accessModeManager)
public boolean hasPermissionNoExemptions(String permissionType, @Nullable Space space, @Nullable com.atlassian.user.User remoteUser)
SpacePermissionManager
SpacePermissionManager.hasPermission(String, Space, User)
does.
For parameter and return value information, see SpacePermissionManager.hasPermission(String, Space, User)
.
hasPermissionNoExemptions
in interface SpacePermissionManager
hasPermissionNoExemptions
in class AbstractSpacePermissionManager
Copyright © 2003–2019 Atlassian. All rights reserved.