Hi, I'm trying to devise a way to create documents through ReST which are private to a specific user. I had hoped that I can create a role for each user and then grant read and update permissions to that role. However, when creating a document through the ReST interface, it seems that there is no way to remove the default rest-reader:read and rest-writer:update permissions [*]
Is there another way how one can create private documents through the ReST API? Thanks, Hans [*] https://docs.marklogic.com/REST/PUT/v1/documents "If no permissions are explicitly set, documents you create with the MarkLogic REST API have a read permission for the rest-reader role and an update permission for the rest-writer role. When you explicitly set permissions, they are combined with the default permissions for the role of the current user." -- LambdaWerk GmbH Oranienburger Straße 87/89 10178 Berlin Phone: +49 30 555 7335 0 Fax: +49 30 555 7335 99 HRB 169991 B Amtsgericht Charlottenburg USt-ID: DE301399951 Geschäftsführer: Hans Hübner http://lambdawerk.com/
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
