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

Reply via email to