public interface ConfluenceAccessManager
AccessStatus
for more information.
Note: this should be used instead of checking if a given user has SpacePermission.USE_CONFLUENCE_PERMISSION
or SpacePermission.LIMITED_USE_CONFLUENCE_PERMISSION
permission.
Modifier and Type | Method and Description |
---|---|
AccessStatus |
getUserAccessStatus(com.atlassian.user.User user)
Returns the
AccessStatus that grants a user a level of access to Confluence. |
AccessStatus |
getUserAccessStatusNoExemptions(com.atlassian.user.User user)
Returns the
AccessStatus that grants a user a level of access to Confluence. |
@Nonnull AccessStatus getUserAccessStatus(@Nullable com.atlassian.user.User user)
AccessStatus
that grants a user a level of access to Confluence.user
- the user to retrieve the access status for, or null
for anonymousAccessStatus
@Nonnull AccessStatus getUserAccessStatusNoExemptions(@Nullable com.atlassian.user.User user)
AccessStatus
that grants a user a level of access to Confluence.
The same as getUserAccessStatus(com.atlassian.user.User)
but does not allow exemptions for super-users or other permission
exemptions.user
- the user to retrieve the access status for, or null
for anonymousAccessStatus
Copyright © 2003–2016 Atlassian. All rights reserved.