Package | Description |
---|---|
info.magnolia.cms.security |
Modifier and Type | Class and Description |
---|---|
class |
MgnlRole
Wraps a role jcr-node.
|
Modifier and Type | Method and Description |
---|---|
Role |
RoleManager.createRole(String name)
Creates a new role in the root folder without any security restrictions.
|
Role |
MgnlRoleManager.createRole(String name) |
Role |
RoleManager.createRole(String path,
String name) |
Role |
MgnlRoleManager.createRole(String path,
String name)
Create a new role in a specific folder without any security restrictions.
|
Role |
RoleManager.getRole(String name)
Get the specific role.
|
Role |
MgnlRoleManager.getRole(String name) |
Modifier and Type | Method and Description |
---|---|
void |
RoleManager.addPermission(Role role,
String workspaceName,
String path,
long permission)
Add permission to the specified role, assuming current user has enough rights to perform such operation.
|
void |
MgnlRoleManager.addPermission(Role role,
String workspace,
String path,
long permission) |
void |
RoleManager.removePermission(Role role,
String workspace,
String path,
long permission)
Remove permission from the specified role.
|
void |
MgnlRoleManager.removePermission(Role role,
String workspace,
String path,
long permission) |
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.