And a while back, we had a thread that talked a bunch about this, which might help getting your head around this:
http://marklogic.markmail.org/thread/qksxukhdbdri6ozx -Danny From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Monday, July 18, 2011 8:57 AM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Read only access to non admin user Hi Abhishek, I recommend creating access roles beforehand. You will need about five to do it thoroughly. MarkLogic Server identifies 4 types of permissions: read, update, delete and execute. Create a role for each. Create a fifth that has default permissions set for the other four roles. Use this fifth role to ingest your documents. You can later on always create more abstract roles that mix any of these other five roles to allow the privileges you want.. Kind regards, Geert Van: [email protected] [mailto:[email protected]] Namens Abhishek53 S Verzonden: maandag 18 juli 2011 17:49 Aan: General MarkLogic Developer Discussion Onderwerp: [MarkLogic Dev General] Read only access to non admin user Hi Folks I ingested some documents with admin role into Marklogic repository. After Ingestion I created the new user with non admin privilege. Over CQ it is returning 0 documents if I access through new user (non admin privilege). Can a document created by admin user will not be acceesible as read only mode through CQ ? The read only access user & role will be created after document ingestion. Thanks & Regards Abhishek Srivastav Tata Consultancy Services Cell:- +91-9883389968 Mailto: [email protected]<mailto:[email protected]> Website: http://www.tcs.com<http://www.tcs.com/> ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
