|
||||||||||
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 |
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 |
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 Values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |