public interface AnonymousUserPermissionsService
Modifier and Type | Method and Description |
---|---|
void |
setUsePermission(boolean enabled)
Set the 'use confluence' permission for the anonymous Confluence user.
|
void |
setViewUserProfilesPermission(boolean enabled)
Set the 'view user profiles' permission for the anonymous Confluence user.
|
void setUsePermission(boolean enabled)
Set the 'use confluence' permission for the anonymous Confluence user.
Note: This is the guard permission for any other anonymous user permissions. If this one is removed then any others will be too.
enabled
- if true then allow the anonymous user 'use' permission; otherwise disallow.NotAuthorizedException
- if the current user does not have the authority to change the anonymous user
permissions.void setViewUserProfilesPermission(boolean enabled)
enabled
- if true then assign the permission; otherwise remove it.NotAuthorizedException
- if the current user does not have the authority to change the anonymous user
permissions.IllegalPermissionStateException
- if the guard permission (Use) has not first been set for the anonymous user.Copyright © 2003–2017 Atlassian. All rights reserved.