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 |
---|---|
@NonNull AccessStatus |
getUserAccessStatus(@Nullable com.atlassian.user.User user)
Returns the
AccessStatus that grants a user a level of access to Confluence. |
@NonNull AccessStatus |
getUserAccessStatusNoExemptions(@Nullable 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–2020 Atlassian. All rights reserved.