I would like to structure my security as follows:
- a number of basic roles (about 30) are defined by me in the gateway at design time;
- about 10 basic users are defined by me in the gateway at design time: each of them has its own mix of basic roles;
- the site manager will be able at runtime to define new users only by inheriting from one of the 10 basic users.
Is that possible? I’m investigating if there’s a script command to create a new user based on an existing user, sort of system.user.createNew(“name”,“password”,“basedOn”): is there anything like that or a possible workaround?
Thanks in advance