Forum Discussion

JafarTiyar's avatar
JafarTiyar
Qrew Member
4 years ago

Add User to Group Based on Trigger

Hi all,

Does anyone know a way to add a user to a group based on an action in an app?

For example, i have an app with

People < Role Assignments
Roles < Role Assignments

So the Role assignments is the many to many.

In the table of people, they add their email address into a field. I believe i could use a formula to find the user id of the user from their email address.

So when a person assigns themselves to role X, could i use some sort of API or something to add them into a user group in the admin area? Roles within the app are assigned through groups, so this would automate giving people additional permissions (and mainly, different default dashboards) based on their role

Thanks

------------------------------
Jafar Tiyar
------------------------------

2 Replies