Hi Guys, Thanks for the quick reply. My issue is resolved now. I have directly passed roles i need to add in function sec:roles-add-roles 2nd parameter. we can pass multiple roles in to that which solved my issue.
Thanks, Manoj. On Thu, Dec 12, 2013 at 8:39 PM, Geert Josten <[email protected]> wrote: > Hi Manoj, > > > > Sounds like you are creating the new role in the same transaction as you > are calling sec:role-add-roles. If so then it is not necessary to do this > in two steps. You can pass in role-names as third param to sec:create-role.. > > > > Kind regards, > > Geert > > > > *Van:* [email protected] [mailto: > [email protected]] *Namens *manoj viswanadha > *Verzonden:* donderdag 12 december 2013 14:37 > *Aan:* MarkLogic Developer Discussion > *Onderwerp:* [MarkLogic Dev General] Security: Adding roles to role > > > > Hi Guys, > > > > I have a query regarding adding roles for newly created role in Marklogic > security. > > > > I have a new role created with name "test" and i want to add few existing > roles like "security", "admin-module-internal" etc. > > > > For this requirement i am using ML API function *sec:role-add-roles* but > i am getting conflicting updates error. > > > > Is there any way to add multiple roles for newly created role in ML. > > > > > > Thanks. > > > > Manoj Viswanadha > > Cognizant Technology Solutions(CTS). > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
