Are you trying to replace an existing document in the schemas database?
If the existing one was created by admin, probably with no explicit permissions,
then your non-admin user will not be able to over-write it.
If your non-admin user created the schema document, did you create it
with the appropriate read and write permissions?
Try xdmp:document-get-permissions ("/myschema.xsd")
---
Ron Hitchens {[email protected]} +44 7879 358212
On Nov 11, 2013, at 6:15 AM, manoj viswanadha <[email protected]>
wrote:
> Hi all,
>
> I am trying to load schemas into schemas database. For this we have triggers
> configured and in xquery module we are using xdmp:eval to load into schemas
> database.
>
> When i use admin user everything is working fine but when i use non-admin
> user i am getting error "Permission denied". I gave all the required
> execute-privileges required to required.
>
> Is there any security item i am missing on schemas database.can any one help
> me how to sort out this issue.
>
> Thanks in advance,
> Manoj viswanadha
> cognizant technology solutions.
>
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general