public static interface DefaultConfluenceAccessManager.AccessManagerPermissionChecker
Don't use this interface for other purposes, e.g. performing permission checks:
you probably want PermissionManager
instead,
or maybe SpacePermissionManager
.
Implementations must be cached, as this is code is executed in all PermissionManager and SpacePermissionManager implementations before hitting their own caches.
Modifier and Type | Method and Description |
---|---|
boolean |
hasGlobalPermissionViaGroups(@NonNull com.atlassian.user.User user,
String permissionType)
Check whether the given user has the given global permission via group memberships.
|
boolean |
permissionExists(SpacePermission permission)
Check whether the given SpacePermission exists.
|
boolean permissionExists(SpacePermission permission)
permission
- the permission to look for.boolean hasGlobalPermissionViaGroups(@NonNull com.atlassian.user.User user, String permissionType)
permissionType
- the SpacePermission
type to look for.Copyright © 2003–2021 Atlassian. All rights reserved.