|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModeShapePermissions
The set of constants that can be used for action literals with the 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.
Field Summary | |
---|---|
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 |
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 |
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 |
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). |
Field Detail |
---|
static final String REGISTER_NAMESPACE
register_namespace
permission define the ability to register (and unregister) namespaces.
Session.checkPermission(String, String)
,
Constant Field Valuesstatic final String REGISTER_TYPE
register_type
permission define the ability to register (and unregister) node types.
Session.checkPermission(String, String)
,
Constant Field Valuesstatic 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).
Session.checkPermission(String, String)
,
Constant Field Valuesstatic final String ADD_NODE
Session.checkPermission(String, String)
,
Constant Field Valuesstatic final String SET_PROPERTY
Session.checkPermission(String, String)
,
Constant Field Valuesstatic final String REMOVE
Session.checkPermission(String, String)
,
Constant Field Valuesstatic final String READ
Session.checkPermission(String, String)
,
Constant Field Valuesstatic 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[] ALL_CHANGE_PERMISSIONS
static final String[] ALL_PERMISSIONS
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |