Hi,
I'm sorry for the previous unnecessary questions - I found all the
answers in the nuxeo code.
After debugging I saw that WRITE for nuxeo means a set of permissions.
Also I found in DocumentsActionsBean next method with explanations:
public boolean getWriteRight() throws ClientException {
// TODO: WRITE is a high level compound permission (i.e. more like a
// user
// profile), public methods of the Nuxeo framework should only check
// atomic / specific permissions such as WRITE_PROPERTIES, REMOVE,
// ADD_CHILDREN depending on the action to execute instead
return documentManager.hasPermission(
navigationContext.getCurrentDocument().getRef(),
SecurityConstants.WRITE);
}
Can I find somewhere documentation describing exactly atomic and
composed permissions and directions for the way how to use them?
I'm speaking entirely for programmatic use of the API.
Regards,
Stefan
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm