Hi Support,
I have been looking for many months to think of a solution to solve the current problem that we have. We have a production application with 1000 or more users and we can't give everybody developer access because if we do so, anybody can make changes to the forms or workflow etc, so we only want a few people to do system users administration. In order to do so, we created a custom form which allows them to add users.
So in sequence this is what happens :
1. System admin add users and email and other details
2. Deluge workflow adds user to application using this command :
thisapp.permissions.assignUserInProfile(<Email ID>,<Profile name>);
3. The role will be created as president/Ceo by default.
This create a loop hole because the role is always president, but we have multiple roles and it is setting as highest, so user can see everything. Is there anyway to assign the role in deluge?
Thank you.