# Edit and delete

**URL:** <https://community.glideapps.com/t/edit-and-delete/56721>\
**Category:** Ask for Help\
**Created:** [January 14, 2023, 10:37pm UTC](https://community.glideapps.com/t/edit-and-delete/56721 "2023-01-14T22:37:44Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 10:37pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/1 "2023-01-14T22:37:44Z")

</div>

I want every new user In my app to edit or delete their content but not others, however the owner should have the ability to do both. What should I do?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 10:54pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/2 "2023-01-14T22:54:25Z")

</div>

make a condition that if the user profile email is signed in user OR the email is the owner (Admin) email.

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 10:59pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/3 "2023-01-14T22:59:27Z")

</div>

![Screenshot 2023-01-15 at 3.58.08 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/0/70e502c90bb7e450071bb9e27a42d59b0e33205e.jpeg)  
I have tried this but still it shows edit option to other signed in users to also edit others data

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 11:02pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/4 "2023-01-14T23:02:54Z")

</div>

the item you are editing has a user email? maybe you are taking the email from the Users sheet… not the item sheet

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 11:05pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/5 "2023-01-14T23:05:16Z")

</div>

Yes I am taking from the user sheet. What should I do?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 11:07pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/6 "2023-01-14T23:07:42Z")

</div>

then, of course, everyone will be able to edit, because in the Users profile the email is theirs…  
what you need to do, whenever you are adding a new item, you have to add the user email to that item… then you have the real item owner to check

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 11:09pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/7 "2023-01-14T23:09:56Z")

</div>

can you please further elaborate if possible ?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 11:10pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/8 "2023-01-14T23:10:45Z")

</div>

show me the sheet where you keep the items list, and tell me how do you add new items.

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 11:12pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/9 "2023-01-14T23:12:43Z")

</div>

![Screenshot 2023-01-15 at 4.12.13 AM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/9/9911e7d2fd316ccfa9b241bb6b70aca56866f5db.png)

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 11:14pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/10 "2023-01-14T23:14:07Z")

</div>

add a new column (email type) and enter for each item the email of the user who add it… also you need to add a column Row ID

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 11:15pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/11 "2023-01-14T23:15:17Z")

</div>

The users are all new should I make a relation column then

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 11:15pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/12 "2023-01-14T23:15:48Z")

</div>

no, what do you mean all new?

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 11:16pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/13 "2023-01-14T23:16:56Z")

</div>

I mean I don’t have users email list. there will be signed in users

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 11:17pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/14 "2023-01-14T23:17:35Z")

</div>

that means all items are yours… add your email for each item

---

<div class="post-metadata">

**Author:** ![ibrahim17](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ibrahim17/32/69140_2.png) [@ibrahim17](https://community.glideapps.com/u/ibrahim17)\
**Post date:** [January 14, 2023, 11:18pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/15 "2023-01-14T23:18:30Z")

</div>

Thanks a lot

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 14, 2023, 11:19pm UTC](https://community.glideapps.com/t/edit-and-delete/56721/16 "2023-01-14T23:19:50Z")

</div>

don’t forget to add the Row ID column… you will need it for relations later…
