I’m building an application that will present a different structure to the user depending on the Role they have been assigned. Users belonging to one role will also be allowed to create other users and select their role within the application (as opposed to going into the DreamFactory Admin UI).
I have two questions relating to this:
Is it possible to retrieve the current User’s assigned roles without granting them access to the /system/role resource?
When creating a user via the API, can Roles only be assigned to the User via an event script (as in this example)? If an event script is the only way then I will need to store the desired role info against the user so it can be retrieved against the script, as I won’t just be assigning a single role.