public interface ModeShapePermissions
Session.checkPermission(String, String)
method.
ModeShape has extended the set of JCR-defined actions ("add_node", "set_property", "remove", and "read") with additional
actions ("register_type", "register_namespace", and "unlock_any"). The register_type
and
register_namespace
permissions define the ability to register (and unregister) node types and
namespaces, respectively. The unlock_any
permission grants the user the ability to unlock any locked node
or branch (as opposed to users without that permission who can only unlock nodes or branches that they have locked themselves
or for which they hold the lock token).
Permissions to perform these actions are aggregated in roles
that can be assigned to users.
Modifier and Type | Field and Description |
---|---|
static String |
ADD_NODE
A standard JCR-defined permission to grant the user the ability to add nodes.
|
static String[] |
ALL_CHANGE_PERMISSIONS |
static String[] |
ALL_PERMISSIONS |
static String |
BACKUP
The
backup permission allows the user the ability to
initiate a backup of the entire repository . |
static String |
CREATE_WORKSPACE
The
create_workspace permission allows the user the ability to
create new workspaces . |
static String |
DELETE_WORKSPACE
The
delete_workspace permission allows the user the ability to
delete workspaces . |
static String |
INDEX_WORKSPACE
The
index_workspace permission allows the user the ability to
re-index all or part of a workspace . |
static String |
MODIFY_ACCESS_CONTROL
The permission that allows the user ability to modify nodes
related to access control.
|
static String |
MONITOR
The
monitor permission allows the user the ability to
monitor the repository . |
static String |
READ
A standard JCR-defined permission to grant the user the ability to read nodes and/or properties.
|
static String |
READ_ACCESS_CONTROL
The permission that allows the user ability to read nodes
related to access control.
|
static List<String> |
READONLY_EXTERNAL_PATH_PERMISSIONS |
static String |
REGISTER_NAMESPACE
The
register_namespace permission define the ability to register (and unregister) namespaces. |
static String |
REGISTER_TYPE
The
register_type permission define the ability to register (and unregister) node types. |
static String |
REMOVE
A standard JCR-defined permission to grant the user the ability to remove nodes and/or properties.
|
static String |
REMOVE_CHILD_NODES
The permission that allows to remove child nodes.
|
static String |
RESTORE
The
store permission allows the user the ability to
initiate a restore of the entire repository
. |
static String |
SET_PROPERTY
A standard JCR-defined permission to grant the user the ability to add or change properties.
|
static String |
UNLOCK_ANY
The
unlock_any permission grants the user the ability to unlock any locked node or branch (as opposed
to users without that permission who can only unlock nodes or branches that they have locked themselves or for which they
hold the lock token). |
static final String REGISTER_NAMESPACE
register_namespace
permission define the ability to register (and unregister) namespaces.static final String REGISTER_TYPE
register_type
permission define the ability to register (and unregister) node types.static final String UNLOCK_ANY
unlock_any
permission grants the user the ability to unlock any locked node or branch (as opposed
to users without that permission who can only unlock nodes or branches that they have locked themselves or for which they
hold the lock token).static final String ADD_NODE
static final String SET_PROPERTY
static final String REMOVE
static final String REMOVE_CHILD_NODES
static final String READ
static final String CREATE_WORKSPACE
create_workspace
permission allows the user the ability to
create new workspaces
.static final String DELETE_WORKSPACE
delete_workspace
permission allows the user the ability to
delete workspaces
.static final String MONITOR
monitor
permission allows the user the ability to
monitor the repository
.static final String INDEX_WORKSPACE
index_workspace
permission allows the user the ability to
re-index all or part of a workspace
.static final String BACKUP
backup
permission allows the user the ability to
initiate a backup of the entire repository
.static final String RESTORE
store
permission allows the user the ability to
initiate a restore of the entire repository
.static final String READ_ACCESS_CONTROL
static final String MODIFY_ACCESS_CONTROL
static final String[] ALL_CHANGE_PERMISSIONS
static final String[] ALL_PERMISSIONS
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.