It only modifies the permissions for the specified URI, whether that URI is a document or a directory. If you want to add a permission to each document in the directory, you must update each document's permissions.
-Danny -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Meagher Sent: Tuesday, December 02, 2008 2:59 PM To: 'General Mark Logic Developer Discussion' Subject: [MarkLogic Dev General] Does xdmp:document-add-permissions give arole the requested access permission on all documents in adirectory? For example, will the following command give the role "business-role" read access to all the documents in "/Directory-URI-Root/" or do permissions need to be set for each individual document? xdmp:document-add-permissions( "/Directory-URI-Root/", xdmp:permission("business-role", "read")) Thx, Tim _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
