I have a configuration file in Marklogic modules database and what is the privilege needed for doing this
xdmp:invoke-function(function(){fn:doc('/config/context.xml')},<options xmlns="xdmp:eval"><database>{xdmp:modules-database()}</database></options>)
I am setting the following privileges
- unprotected-collections
- unprotected-uri
- unprotected-collections
- unprotected-uri
- xdmp:spawn
- xdmp:spawn-in
- xdmp:spawn-transaction
- xdmp:http-get
- xdmp:http-head
- xdmp:http-options
- xdmp:http-delete
- xdmp:http-post
- xdmp:http-put
- xdmp:eval
- xdmp:eval-in
- xdmp:spawn-transaction
- xdmp:invoke
- xdmp:invoke-in
- xdmp:invoke-modules-change
- xdmp:invoke-modules-change-file
- xdmp:invoke-transaction
- xdmp:xslt-eval
- xdmp:xslt-eval-in
- xdmp:xslt-eval-transaction
- xdmp:load
- xdmp:xslt-invoke
- xdmp:xslt-invoke-in
- xdmp:xslt-invoke-transaction
what other privileges I am missing, as if I login as rest-admin or admin everything works ??