I have created below user and roles:
Users Role default permissions
WRITER WRITER execute,update, insert,read
READER READER read
When I run the following query using the READER user:
Xdmp:invoke("/test/test.xqy")
It give me following error:
1.0-ml] XDMP-NOPROGRAM: xdmp:invoke("/test/test.xqy") -- Server unable to build
program from request
Stack trace:
line 2:
1: xquery version "1.0-ml";
2: xdmp:invoke('/test/test.xqy')
Whereas If I ran the simple query:
fn:doc("test.xml) this give me results
Also,
I am loading the documents using WRITER user
Let me know , what is the missing piece.
Thanks,
Pragya
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general