public class DefaultAnonymousUserPermissionsService extends Object implements AnonymousUserPermissionsService
| Constructor and Description |
|---|
DefaultAnonymousUserPermissionsService(PermissionManager permissionManager,
SpacePermissionManager spacePermissionManager) |
| 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.
|
public DefaultAnonymousUserPermissionsService(PermissionManager permissionManager, SpacePermissionManager spacePermissionManager)
public void setUsePermission(boolean enabled)
AnonymousUserPermissionsServiceSet 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.
setUsePermission in interface AnonymousUserPermissionsServiceenabled - if true then allow the anonymous user 'use' permission; otherwise disallow.public void setViewUserProfilesPermission(boolean enabled)
AnonymousUserPermissionsServicesetViewUserProfilesPermission in interface AnonymousUserPermissionsServiceenabled - if true then assign the permission; otherwise remove it.Copyright © 2003–2020 Atlassian. All rights reserved.