Is there a possibility to add a role directly in ivy engine, without creating it first in designer and deploying on ivy engine. Something like createUser(String,String,String,java.util.Locale,String,String). Or is it planned to have this possibility one day in the admin page for ivy engine? Thanks for you feedback asked 27.06.2017 at 08:16 Alex Reich |
Hi Alex You can use the following non Public API: ivy.wf.getSecurityContext().getTopLevelRole().createChildRole("MyRole", "DisplayNameOfMyRole", "Description of MyRole", true); to add a new role. Regards Reto Weiss, Axon.ivy Support answered 27.06.2017 at 11:21 Reto Weiss ♦♦ Hi Reto thanks for your answer. What happens with such a role after a deployment, without this new role in the deployed projects? Thanks and best regards Alex
(28.06.2017 at 02:13)
Alex Reich
Hi Alex The role stays there forever even if you deploy new or the same projects with the other roles with or without the new role. Does not depend. However, the role has a flag that it was created dynamically (See last parameter true). This means that the project that has created the role is also responsible for its administration (edit, delete, etc.)
(28.06.2017 at 02:34)
Reto Weiss ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 27.06.2017 at 08:16
Seen: 2,333 times
Last updated: 28.06.2017 at 02:34