public class MgnlRole extends Object implements Role
Modifier and Type | Field and Description |
---|---|
static long |
PERMISSION_ANY |
Modifier | Constructor and Description |
---|---|
protected |
MgnlRole(String name,
String roleId,
Collection<ACL> acls) |
Modifier and Type | Method and Description |
---|---|
void |
addPermission(String repository,
String path,
long permission) |
String |
getId()
Gets identifier of the role.
|
String |
getName() |
void |
removePermission(String repository,
String path) |
void |
removePermission(String repository,
String path,
long permission) |
protected MgnlRole(String name, String roleId, Collection<ACL> acls)
public void addPermission(String repository, String path, long permission)
addPermission
in interface Role
public void removePermission(String repository, String path)
removePermission
in interface Role
public void removePermission(String repository, String path, long permission)
removePermission
in interface Role
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.