I am running the following query to give "Access-Role" read permission but
I get the error  "[1.0-ml] XDMP-NOTANODE: (err:XPTY0019)
xdmp:document-set-permissions(fn:document-uri($x), ("Access-Role","read"))
-- "AHD-Access-Role" is not a node"

for $x in xdmp:directory("/app/", "1")
return
xdmp:document-set-permissions(fn:document-uri($x), ("Access-Role","read"))


Any help in understanding this issue will be greatly appreciated.

‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹
Kashif Khan


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

Reply via email to