By default documents inserted have no roles assigned for reading (or anything else) which means that they are inaccessible to anyone but Admin who can always access anything.
You need to either set a default role for reading the docs (via the admin console / db config) or add a role programmatically. Sent from my iPhone On Jul 18, 2011, at 11:47, "Abhishek53 S" <[email protected]<mailto:[email protected]>> wrote: 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: <mailto:[email protected]> [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]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
