Assigning user role via the app by using multiple text entry column (feature in preview)

Hi,

I understand that currently if we want to assign a role to a user from within the app then the limitation is that the assigning user must be of the same role, else glide resets the data value for security reasons.
@Darren_Murphy some of your old replies on related queries show that you use Make.com integration with the app to ensure that any user can assign any role.
I was wondering if you have tried achieving this via the new multiple text entry column feature(still under preview) ?
Also which method would you say is more cost effective - Make.com or multiple text entry column method, since both consume updates during workflow runs.

Cheers!
AK

1 Like

Yes, the Multiple Texts can be used if you need to assign multiple roles per user. The best way to do it is with a server side workflow (Manual or Webhook Trigger). There is no need to use Make. Multiple Texts is an array type column, so you must prepare an array of role values, and write that using Set Column Values.

1 Like

Just to clarify, lets assume John Doe is an admin of the app. Essentially there are 3 roles - Admin, Manager and Agent which are assigned to various app users.
Up until now (before the multiple text column feature) John doe being an admin could only assign ā€œAdminā€ role to a new user through the app(i had a ā€œadd new userā€ button which would open up a form linked to the users table having the Role column) because role here are actual ROLES.
But i would like John Doe to be able to assign roles of Manager and Agent also to users(which was possible only via Make up until now)
But now i can have John Doe(or any other admin) use the in app form to add a new user and assign any 'ROLE’ to this new user different from admin(Manager or Agent) because now there is a ā€˜multiple roles’ column in my users table with John Doe having an array of roles of Admin, Manager and Agent.
Is my understanding correct ?

Also, can i not enter the data array manually in a multiple texts column i.e. do i have to use a workflow always? I’m trying to click on the cells to add stuff, but nothing is happening.

Thanks

1 Like

This has nothing to do with the Multiple Texts column. You could always assign any role to any user via the API, and more recently via server side workflows.

No, you cannot add data manually, because it is an array type column.

1 Like

Could you guide me how to do this - ā€œYou could always assign any role to any user via the API, and more recently via server side workflows.ā€

Basically my app admin should be able to assign any role to any user from within the app via a form that would open up from a an action button

FYI - I’m on the explorer plan. Do i need to upgrade to use API/server side workflows ?

1 Like

Explorer doesn’t have API access, but you do have access to workflows. See below:

2 Likes

Thank you.
Just a side question - Implementing workflows creates these data tables that have all this workflow log meta data. Do these rows in these auto generated tables count towards my row limits on my plan?

Additionally on another side note, in my usage settings - big table rows count don’t show, does that mean all data using big tables is exluded from the row limit limitation ?

Thank you

No, they don’t count.

On anything other than workflows, they do count. I think it’s an oversight that they don’t show up on your usage dashboard though.