# Help! Users deleting records of other users

**URL:** https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804
**Category:** Ask for Help
**Created:** [October 6, 2023, 12:45pm UTC](https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804 "2023-10-06T12:45:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)
#### Post date: [October 6, 2023, 12:45pm UTC](https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804/1 "2023-10-06T12:45:15Z")

</div>

Hey guys. I have tables that users can add records to, where all the data they add is specific to themselves. The problem is when a user deletes the record, they delete that row for ALL users. How do I keep this from happening?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [October 6, 2023, 12:49pm UTC](https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804/2 "2023-10-06T12:49:58Z")

</div>

Use Row Owners instead of User Specific columns.

---

<div class="post-metadata">

### Author: ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)
#### Post date: [October 6, 2023, 12:54pm UTC](https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804/3 "2023-10-06T12:54:03Z")

</div>

Ok so I set the row owner to be a user name or email? And then do I not make the other fields user specific?

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [October 6, 2023, 12:58pm UTC](https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804/4 "2023-10-06T12:58:13Z")

</div>

Row Owner should be the Users email address.

Normally you won’t need any User Specific columns where you are using Row Owners.  
But it just depends - there are cases where you might want to use them, I have no way of knowing if your case is one. Probably not.

---

<div class="post-metadata">

### Author: ![J\_Woosley](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/j_woosley/32/64568_2.png) [@J\_Woosley](https://community.glideapps.com/u/J_Woosley)
#### Post date: [October 6, 2023, 1:18pm UTC](https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804/5 "2023-10-06T13:18:14Z")

</div>

Ok, so if I’m the row owner, I can only delete the row I have made. That makes sense to me I think. Then in the app itself, I can set a filter to only show data where my email matches the email column, correct?

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [October 6, 2023, 1:32pm UTC](https://community.glideapps.com/t/help-users-deleting-records-of-other-users/66804/6 "2023-10-06T13:32:17Z")

</div>

When you use row owners, you only have access to your own rows. The ones you “own”. No need to set a filter, because it’s already filtering out the unowned rows. In fact unowned rows aren’t even sent to the user’s device, so they won’t know they exist, and thus can’t delete them.

> **[Row Owners](https://www.glideapps.com/docs/essentials/security-and-user-data/row-owners)**
>
> A secure way to restrict access to certain rows.
