|Modifier and Type||Method and Description|
com.atlassian.fugue.Either<AccessDenied,SpacePermissionQueryBuilder> createSpacePermissionQueryBuilder(@Nullable ConfluenceUser user, @Nonnull String permissionType)
SpacePermissionQueryBuilderfor use by DAO's to construct database queries, without having to reach out to the manager level to determine which categories of permission apply for the current user. See
user- the user being checked for permissions, or null for anonymous
SpacePermissionQueryBuilderfor the user / anonymous OR
AccessDeniedif the user does not have access to Confluence, or the permissionType is not valid for the user (depends on their
Copyright © 2003–2017 Atlassian. All rights reserved.