Just to clarify a little, it depends on what you mean by "access". Geert is correct that you can use a protected collection to restrict which roles can add documents to the collection, but if your goal is to restrict who can read documents from the collection you'll need to manage it with the individual document permissions.
Wayne. On Fri, 2010-01-22 at 06:07 -0800, Geert Josten wrote: > Hi Judie, > > You can use the MarkLogic Server Admin interface to create a so-called > protected collection. Add it to the list of protected collections by going to > Security and then Collections. Hit the Create tab, enter the uri of the > collection you want to protect and add Role1 with the appropriate privileges > (read, insert, update, execute).. > > Kind regards, > Geert > > > > > > Drs. G.P.H. Josten > Consultant > > > http://www.daidalos.nl/ > Daidalos BV > Source of Innovation > Hoekeindsehof 1-4 > 2665 JZ Bleiswijk > Tel.: +31 (0) 10 850 1200 > Fax: +31 (0) 10 850 1199 > http://www.daidalos.nl/ > KvK 27164984 > De informatie - verzonden in of met dit emailbericht - is afkomstig van > Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit > bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit > bericht kunnen geen rechten worden ontleend. > > > > From: [email protected] > > [mailto:[email protected]] On Behalf Of > > judie pearline > > Sent: vrijdag 22 januari 2010 15:02 > > To: Mark Logic > > Subject: [MarkLogic Dev General] Regarding roles and > > permission in Marklogic > > > > Hi, > > > > Regarding the user security, > > > > I am having 2 roles Role1 and Role2. i just wanted to allow > > only Role1 to access the collection Collection1. All the > > other roles say Role2 and the roles that will be created in > > future should not access Collection1. > > > > how we can achieve this in marklogic? > > > > > > With Regards, > > Judie > > > > ________________________________ > > > > The INTERNET now has a personality. YOURS! See your Yahoo! > > Homepage > > <http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/> . > > > > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
