Thank you all - much appreciated!

Tim

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frank Sanders
Sent: Tuesday, December 02, 2008 6:58 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Does
xdmp:document-add-permissionsgivearole the requested access permission on
all documents inadirectory?

As long as inherit permissions is set to true on the database, any documents
created within that directory *after* your command is executed will be
readable by business-role. Any docs created before setting the permissions
for business role on the directory will need to be updated, as Danny points
out.

-fs

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny Sokolsky
Sent: Tuesday, December 02, 2008 6:05 PM
To: General Mark Logic Developer Discussion
Subject: RE: [MarkLogic Dev General] Does xdmp:document-add-permissions
givearole the requested access permission on all documents in adirectory?

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


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to