Hi,
Should not this method in DocumentAccessBridge:
Object getProperty(String documentReference, String className, int
objectNumber, String propertyName);
be deprecated and replaced with a method:
Object getProperty(DocumentReference documentReference,
DocumentReference classReference, int objectNumber, String propertyName);
Also, to be able to use it, there should be a method like:
Iterable<Integer> getObjectNumbers(DocumentReference
documentReference, DocumentReference classReference);
With these changes, it would be possible to read the access rights
objects without being depending on the core.
But the rights service would still need the core for querying group
memberships, checking the document creator, and checking the wiki
owner. Or have I missed something?
Best regards,
/Andreas