@Internal
public interface BambooCachingPermissionManagerFacade
BambooCachingPermissionManagerFacadeFactory
and obtain BambooCachingPermissionManagerFacade
for the lifetime of method/requestModifier and Type | Method and Description |
---|---|
<T,A,R extends Iterable<?>> |
aclCachePrimerCollector(Collector<T,A,R> collector)
Return a wrapping collector which will call
primeAclCache(Iterable) on a result returned by finisher of collector |
boolean |
hasPermission(org.acegisecurity.acls.Permission permission,
Object plan) |
boolean |
hasPlanPermission(BambooPermission permission,
long planId)
Return true if currently authenticated principal has a permission to plan
|
boolean |
hasPlanPermission(BambooPermission permission,
PlanKey planKey)
Return true if currently authenticated principal has a permission to plan
|
void |
primeAclCache(Iterable<?> objects)
Adds ACLs for supplied objects to cache.
|
boolean hasPlanPermission(BambooPermission permission, long planId)
permission
- permission typeplanId
- Plan idboolean hasPlanPermission(BambooPermission permission, PlanKey planKey)
permission
- permission typeplanKey
- Plan keyboolean hasPermission(org.acegisecurity.acls.Permission permission, @NotNull Object plan)
void primeAclCache(@NotNull Iterable<?> objects)
<T,A,R extends Iterable<?>> Collector<T,A,R> aclCachePrimerCollector(Collector<T,A,R> collector)
primeAclCache(Iterable)
on a result returned by finisher of collectorCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.