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)
AnonymousUserPermissionsService
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.
setUsePermission
in interface AnonymousUserPermissionsService
enabled
- if true then allow the anonymous user 'use' permission; otherwise disallow.public void setViewUserProfilesPermission(boolean enabled)
AnonymousUserPermissionsService
setViewUserProfilesPermission
in interface AnonymousUserPermissionsService
enabled
- if true then assign the permission; otherwise remove it.Copyright © 2003–2015 Atlassian. All rights reserved.