Is there a chance that "http://lexisnexis.co.uk/toc/02FF"; exists, but you
don't have permissions to see it? You mention that you're not an admin and
you are logged in as your own user. If someone created a document at "
http://lexisnexis.co.uk/toc/02FF"; with different permissions, that would
explain why you can't read it and why you get an error trying to insert
it...

Harry

On Thu, Aug 4, 2016 at 6:39 AM, Rob Walpole <[email protected]> wrote:

> Hi,
>
> Am having a strange permissions problem when trying to create a new
> document in the query console.
>
> Basically, if I run..
>
> xdmp:document-insert("http://lexisnexis.co.uk/toc/02FF";,<doc/>)
>
> ..then I get an error..
>
> SEC-PERMDENIED: xdmp:document-insert("http://lexisnexis.co.uk/toc/02FF";,
> <doc/>) -- Permission denied
>
> But if I run..
>
> xdmp:document-insert("http://lexisnexis.co.uk/toc/02FE";,<doc/>)
>
> ..then I get no error, and if I run..
>
> doc("http://lexisnexis.co.uk/toc/02FE";)
>
> ..then I get..
>
> <doc/>
>
> ..as I would expect.
>
> If I run..
>
> doc("http://lexisnexis.co.uk/toc/02FF";)
>
> ..though I get an empty sequence. As far as I can tell the document does
> not exist!
>
> The only difference I see therefore is the URI but I don't how could this
> make a difference? There are no special URI privileges set up.
>
> We are using MarkLogic Server Enterprise Edition 8.0-4.2 in a 3 node
> cluster on AWS. We use LDAP for security and I am logged in using my own
> user account which is a non-admin account.
>
> Many thanks
>
> Rob Walpole
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to