[EMAIL PROTECTED] a écrit :
> Hi,
> 
> I am trying to block the inherited rights of a few document types upon 
> creation. I created Eventlisteners for this purpose that set up the rights.
> 
> One document type extends folder, one extends workspace.
> 
> The following method should block the inherited rights:
> 
> private void setupRights(DocumentModel doc, CoreSession documentManager) {
> [...]
> 
> This works for the folder, however it does not for the workspace...
> 
> Does anyone know why? Is there an error in the code or is there another way 
> to block the inherited rights for workspace datatypes?

The permission system is not affected by datatypes so your code should work with
any document type. What error/misbehavior do you get?

-- 
Olivier

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to