First, you can't check permissions without a document as a
context.
And second, no, there's no API to check that a group has a
given permission on a given document.
The low-level method that does the check and where you could
pass explicit groups is
SecurityPolicyService.checkPermission in the
additionalPrincipals array (which can contain groups), but
you won't be able to call that from the high-level APIs.

---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to