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 |
MgnlRoleManager.createRole(String name) |
Role |
RoleManager.createRole(String name)
Creates a new role in the root folder without any security restrictions.
|
Role |
MgnlRoleManager.createRole(String path,
String name)
Create a new role in a specific folder without any security restrictions.
|
Role |
RoleManager.createRole(String path,
String name) |
Role |
MgnlRoleManager.getRole(String name) |
Role |
RoleManager.getRole(String name)
Get the specific role.
|
Modifier and Type | Method and Description |
---|---|
void |
MgnlRoleManager.addPermission(Role role,
String workspace,
String path,
long permission) |
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.removePermission(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.
|
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.