com.atlassian.confluence.security.service.AnonymousUserPermissionsService |
Known Indirect Subclasses
|
Class Overview
A service for managing permissions for the anonymous Confluence user.
Summary
Public Methods |
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.
|
Public Methods
public
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.
Parameters
enabled
| if true then allow the anonymous user 'use' permission; otherwise disallow. |
Throws
NotAuthorizedException
| if the current user does not have the authority to change the anonymous user
permissions.
|
public
void
setViewUserProfilesPermission
(boolean enabled)
Set the 'view user profiles' permission for the anonymous Confluence user.
Parameters
enabled
| if true then assign the permission; otherwise remove it. |