User cannot change role from within the app

I’m not sure what I am doing wrong, but when i try to change the user role to something other than empty, the change just does not save. The only way to edit this in my app is through a action button in a workflow, here’s the logic:

It stays as “Prestador” for a while, but shortly after, it’s empty again. This is really annoying and is a crucial status in my app. What can i do?

Welcome to Glide’s community forum.

If I remember correctly, the content in the role column can only be changed inside the Glide builder, not from within the app itself.

EDIT (Roles explained in Glide Docs):

1 Like

Oh, this makes sense, since every other column it’s working fine. I will try to add another column with the same function and see if it works. Thank you!

1 Like

I just added a screenshot in my previous reply. Indeed roles cannot be set from within the app. There might be nuances or workarounds, but generally speaking, it seems like a “users cannot set roles from an app”.

Roles can be changed via the API, or by using server side workflows.

Here is how to do it via the API with the Make integration:

https://www.loom.com/share/8612d71b136249f5903cde3872276321

And here is how to do it with workflows:

https://www.loom.com/share/93eeeeb72d8c4dcab27544fcac871338

4 Likes

Thanks for the videos, Darren.

The day I understand what JSON and webhooks are, I’ll consider myself a developer. Or at least I’ll have levelled up slightly :slight_smile:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.