Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In order to enforce policies, your PEP must figure out what to do when asked for certain permissions. In some cases more than one permission is requested of the PEP in order to complete to overall ModeShape operation. In addition, some Fedora operations, such as object creation, involve several ModeShape operations. All of the ModeShape operations that compose a Fedora API call are performed in a single session with one save point and will succeed or fail together.

ModeShape Actions

Permission checks often rely on the retrieval of metadata about existing nodes.

Newly created nodes and newly set properties are only effective once the session is saved.

actionpathnotes

add_node

full path to the new node 
set_propertyfull path to the property 
read  
remove  
remove_child_nodes  

 

An attempt to remove a node will trigger a call with the remove action on the subject node and call with the remove_child_nodes action on the parent node. Both must return true for the operation to proceed.

Roles that are set in an unsaved session are not effective, even within that session.

  • No labels