public class ThreadLocalCachingPermissionManager extends WorkflowBasedPermissionManager
Constructor and Description |
---|
ThreadLocalCachingPermissionManager(WorkflowPermissionFactory workflowPermissionFactory,
PermissionContextFactory permissionContextFactory,
ProjectFactory projectFactory,
ProjectPermissionTypesManager projectPermissionTypesManager,
ProjectPermissionOverrideDescriptorCache projectPermissionOverrideDescriptorCache) |
Modifier and Type | Method and Description |
---|---|
void |
flushCache()
Flushes any cached project permissions for all users.
|
Collection<Project> |
getProjectObjects(ProjectPermissionKey permissionKey,
ApplicationUser user) |
hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission, hasPermission
getAllGroups, getAllProjectPermissions, getProjectPermission, getProjectPermissions, getProjects, getProjects, getProjects, getProjects, hasPermission, hasProjects, hasProjects, hasProjectWidePermission, isGlobalPermission, removeGroupPermissions, removeUserPermissions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasPublicAccess
public ThreadLocalCachingPermissionManager(WorkflowPermissionFactory workflowPermissionFactory, PermissionContextFactory permissionContextFactory, ProjectFactory projectFactory, ProjectPermissionTypesManager projectPermissionTypesManager, ProjectPermissionOverrideDescriptorCache projectPermissionOverrideDescriptorCache)
public Collection<Project> getProjectObjects(ProjectPermissionKey permissionKey, ApplicationUser user)
getProjectObjects
in class DefaultPermissionManager
public void flushCache()
PermissionManager
flushCache
in interface PermissionManager
flushCache
in class DefaultPermissionManager
Copyright © 2002-2017 Atlassian. All Rights Reserved.