Discussions

Expand all | Collapse all

Add User to Group Based on Trigger

  • 1.  Add User to Group Based on Trigger

    Posted 06-20-2020 10:45
    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.  RE: Add User to Group Based on Trigger

    Posted 06-21-2020 12:03
    There is an API for that, so yes it's possible because we now have Pipelines which can call Quick Base APIs.  Or else a native Quick base webhook can also trigger an API.

    https://help.quickbase.com/api-guide/API_AddUserToGroup.html

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: Add User to Group Based on Trigger

    Posted 06-21-2020 21:08
    Awesome, thanks Mark. Will reach out to you privately to discuss further.

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