I need help with implementing user-specific data in my Glide app. I want users to be able to add, delete, and view only their own items, without affecting others

I’m new to Glide and need assistance with my app. I have a tab that allows users to add items specific to their data. While users can edit their own data without affecting others, I’m encountering an issue with newly added items.

For example, when User A adds Item 1 and enters the details, all other users (like User B) can see this new item in their app layout, even if the content is blank. This results in a poor user experience, as empty items are visible to everyone. If User B or anyone else deletes this empty item, User A later discovers that their entry is gone.

I want each user to be able to add, edit, and delete items within their own app sessions without impacting others’ data. Specifically, I’d like new and deleted items to be visible only to the user who created or deleted them. How can I achieve this while keeping the add and delete buttons enabled?

Thank you for your help!

You need to use Row Owners : Row Owners | Glide Docs

Additionally, you might want to set the User email in the author column. You can use values from user profile and select the column to write it to:


Then, in the data editor, set the Author column as row owner:

Only logged-in user will see their own data because of the email address that is linked to the items. Nobody else could be able to View, Edit or Delete other’s user data.

3 Likes

In addition to using Row Owners, you also don’t want to be using user specific columns. Row Owners control which rows are accessible to each user. User Specific columns allow multiple users to store unique values in the same column cell in the same row. You don’t have multiple users editing the same row, so you don’t need user specific columns.

Get rid of your user specific columns and replace them with regular non user specific columns.

3 Likes

Oops, I did not verify the thread’s title :rofl:

1 Like

Yeah, when someone says they have empty rows that show up when someone else adds a row, that’s usually a good indication that user specific columns are being used.
.

2 Likes