Have you checked the permissions for one of the documents that you inserted to ensure that the custom-defined role has the desired access to it?
Tim Meagher -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Tuesday, February 24, 2009 2:47 AM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] Xdmp:default-permissions() not working? Hi there, I am running MarkLogic Server 4.0-1 on a WinXP laptop. I have added a user to the security database in MarkLogic Server using the Admin interface and the describe feature tells me that this user has default permissions (inherited from a custom defined role). But an empty sequence is returned, when calling the xdmp:default-permissions() as this user. Also, when inserting documents, permissions are not automatically assigned because of this, making the document inaccessible for the user itself. (Reproduced with cq using xdmp:eval and the user-id option.. Is there an obvious reason this goes wrong? Or is it something that has been fixed in the latest releases? I failed to find release notes on the latest patch versions. Are these available somewhere? 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. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
