User table data disappears after a while

Team ID:
https://go.glideapps.com/o/JkD5b0qIEYQL0gMkGVro

App ID:
https://go.glideapps.com/app/D30K4KvMj5lNIPx9Q0RI/layout

Description
When I write a data in User table, it shows data, but after 2 minutes or so, this piece of data disappears

How to replicate
In “Vozaci” table, “Uloga =) Vozač” disappears after few minutes
When I add new, everything is ok



After a few minutes, data “Vozač” in column “Uloga” disappears:


I use Airtable as data source. In Airtable, when I add new row in this table, the data “Uloga =) Vozač” is not synchronized

Thank you for your help

2 Likes

“Uloga” means “role” in Serbo-Croatian, so this interpretation & solution looks to be correct.

1 Like

I understand your solution, thank you.
I am still very confused, because on my other Glide app, this works
(when admin adds another user, and dedicates a role)

yes “Uloga” means “role” :slight_smile:

Does your other app have the user profile configured to use true Role functionality? That might be the difference between the two apps.

1 Like

Yes, this is the difference between two apps.
In my other app (where adding roles to new users does work), the “Role” is unmarked (as in picture above). I understand this could be very dangerous, because of lack of control.
Thank you very much for your time and your solution :slight_smile:

1 Like

@Jeff_Hager would you say that the role functionality is only really needed when using row owners?

I’m working on something where each user type only dictates the actions and components they should have access to. There’s no need to limit rows that are accessible for a staff member compared to a manager - it’s more that only the manager can delete items or something like that. All staff should be able to see entries for all staff.

Turning off the role setting in your screenshot would allow the manager to create new staff and assign them any user type (not just their own as is currently possible with the role set).

Sounds like this is the easiest solution for my case, rather than using Make or the API, right?

Yes, primarily Role functionality is designed to be used with row owners to secure data and make that data accessible to a group of users instead of a single user.

If your only goal is to use a psuedo role for visibility/filters, or control which action a user can call, then you are correct, you are not required to use the true role functionality in Glide.

Great.

I guess the only other clarification I have is then what is the purpose of assigning a role column? Could you not just set the column as a row owner?

Let’s say you do not establish Role functionality through the user profile configuration, and then have a column in any table with the word ‘Admin’ and set that column as a row owner column. Who owns it??? Who is the Admin???

If you don’t set that up in the configuration, how is the app supposed to know who is an Admin and who is not, to then determine if a person should have access to that row of data?

Setting a Role column is like setting an Email column. It tells the app which columns contain the vital pieces of information, to get the signed in user’s info, to use for controlling row ownership.

4 Likes

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