Re: [MarkLogic Dev General] dls library

2014-10-07 Thread David Ennis
HI Shruti. I understand that you use a separate layer for 'authentication' for your app - but it still stands that you are using DLS - which is meant to have a separate *MarkLogic* user per DLS user. How you authenticate and how you use users need not be the same thing Some examples: 1)

[MarkLogic Dev General] dls library

2014-10-06 Thread shruti kapoor
Hi all, My application requires me to use a single admin account for multiple users, but how could I allow multiple users to checkout the same document using dls:document-checkout(). I do not need to create multiple users. -- Regards, *Shruti Kapoor* *Software Engineer* *Innodata India Pvt.

Re: [MarkLogic Dev General] dls library

2014-10-06 Thread David Ennis
HI. The DLS library works on MarkLogic User IDs (in fact, the user id must match a user from the system (http://marklogic.com/xdmp/security namespace on the userid element is returned in all cases). If you are not using individual users and need to use DLS, then perhaps you need to re-think: 1)

Re: [MarkLogic Dev General] dls library

2014-10-06 Thread shruti kapoor
Hi David, In my application, there are multiple modules like Rsuite, Marklogic which are connected by REST end points. There is separate layer for authentication so we donot require multiple users on Marklogic level. But multiple users need to use multiple versions of same documents that are