[MarkLogic Dev General] Creating user with read-only permission

Will Thompson wthompson at jonesmcclure.com
Fri Aug 31 08:25:45 PDT 2012


Danny,

What default permissions, if any, are set on your documents? Have you tried creating a role with only x-admin : read?

-W


From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Danny Sinang
Sent: Friday, August 31, 2012 6:57 AM
To: general
Subject: [MarkLogic Dev General] Creating user with read-only permission

Hi,

I need to create users with read-only permission over all our documents but, from what I've read, it looks like I have to update the permissions on all documents to do this.

We've got around 10 million documents in ML and all of them were created using a user called "x-admin-user" who is assigned the following roles :

admin
security
dls-user
dls-admin
x-admin

The x-admin role has the following default permissions :

x-user : read
x-user : insert
x-user : update
x-user : execute

So far, the only way I can give my new users access to our data is to give them the role of "x-user" but that gives them update privileges as well.

Is there an easier way to grant read-only access ?

Regards,
Danny

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120831/a5258595/attachment.html 


More information about the General mailing list