I have about 60000 documents on Mark Logic database. I would like to set up 
permission for read and write users

In order to do that I am running the following script :

for $i in cts:uris() [0 to 60000]
return
xdmp:document-set-permissions($i, (xdmp:permission("digital-read","read"),
                                   xdmp:permission("digital-write","insert"),
                                   xdmp:permission("digital-write","update"),
                                   xdmp:permission("digital-write","read")
                                 ))

I could not process all documents because getting the following error:
XDMP-EXTIME: Time limit exceeded.

So I ran Xquery with small range from 1 to 10000 and so on, but when I login 
with user who has read or write privileges there are only 29654 documents that 
they can access

What  did I do wrong?

Thanks,
Galina
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to