I’m trying to add a new user in my app, and in doing so assigning this user the same “Role”. (Pro App, using Roles).
But Glide doesn’t allow me to do this. I’m 99.99% sure this worked a week ago, so maybe they’ve changed something?
I’m aware of what they describe here, regarding roles: Roles
but how do I then assign the same role to my new user, if my current approach isn’t doing the trick?
And here’s what I’ve also begun experiencing:
I pull in the same table in a “Public App” where I’m NOT using Roles, but rather email addresses from another column as Row Owners. Here I can suddenly no longer list rows created from my other app (Where I use the roles).
update: This is only the case sometimes… It seems a bit erratic / random… Trying to identify a pattern in this. Would be great with better documentation on how Roles work. Also across apps.
Make, otherwise known as Integromat. Send a webhook with the Users RowID and the name of the role, and then push it back in via the API. With this method, any user can set any role.
Yes, I’ve also noticed some dodgy behaviour in the past few days. I reported a role-related bug last week where Glide was only recognising the first role in an array of roles (array created in an attached Google Sheet).
It should be App specific, even with shared user profile tables.
That’s actually separate to the bug I was referring to in my post above (which was fixed).
The behaviour that you are seeing is correct and expected. You cannot change a users Role via the front end. Well, you can - but Glide will change it back, as you’ve discovered.
The only way to do it is either manually in the Data Editor, or via the API.
Hi
I am trying to set up a Make scenario to be able to change roles in my app. I am doing as you suggest but still having an issue in the Make HTTP Request - I am getting an “Authentication” error.
Could you point me where to look for my mistake? Appreciate
Thank you both
I have my authorization key after Bearer (just redacted)
In terms of the second header for content type? I am not sure how to specify that?
I thought content type was specified in the Content Type field below Body Type? If not how do I specify in the Header Section please.
And yes I am using Make a request in the HTTP module
Quick question - I was initially using a Glide Action as the opening module in Make - I have changed to a Webhook.
It appeared to me that a Glide Action should be appropriate to change a Role column in the users table - why would it not be? Appreciate.
Hi everybody!
I had some workaround with set User role thru API.
Using API for its apps you can’t set user role if role column configured as Role in editor settings. (You can, but role will be changed back after some time)
We can add linked app which must have same table, but not configured in editor settings as Role.
Using API of the linked app we can set role and it will be stable. Also stable role in first app. For now, about one hour it stable.
I hope Glide didn’t be changing this in a future. Or will they tell us what they will change.