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) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasPermissionNoExemptions(String permissionType,
Space space,
com.atlassian.user.User remoteUser)
Returns true if the user has the specified permission on the target space.
|
createDefaultSpacePermissions, createInitialSpacePermissions, createPrivateSpacePermissions, flushCaches, getAllPermissionsForGroup, getGlobalPermissions, getGlobalPermissions, getGroupNamesWithPermission, getGroupsForPermissionType, getGroupsWithPermissions, getUsersForPermissionType, getUsersWithPermissions, permissionExists, prime, removeAllPermissions, removeAllPermissions, removeAllPermissionsForGroup, removeAllPermissionsForGroup, removeAllUserPermissions, removeAllUserPermissions, removeAllUserPermissions, removeGlobalPermissionForUser, removeGlobalPermissionForUser, removePermission, removePermission, savePermission, savePermission
getDefaultGlobalPermissions, getUserAccessor, groupHasPermission, hasAllPermissions, hasGlobalPermissionViaGroups, hasPermission, hasPermission, hasPermissionForSpace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultGlobalPermissions, groupHasPermission, hasAllPermissions, hasPermission, hasPermission, hasPermissionForSpace
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)
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–2017 Atlassian. All rights reserved.