|Constructor and Description|
|Modifier and Type||Method and Description|
public 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–2016 Atlassian. All rights reserved.