# Delete only your own images

**URL:** <https://community.glideapps.com/t/delete-only-your-own-images/69402>\
**Category:** Ask for Help\
**Created:** [January 9, 2024, 10:19am UTC](https://community.glideapps.com/t/delete-only-your-own-images/69402 "2024-01-09T10:19:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 9, 2024, 10:19am UTC](https://community.glideapps.com/t/delete-only-your-own-images/69402/1 "2024-01-09T10:19:08Z")

</div>

Hi everyone,

How can I give every single user the opportunity to delete only their photo?  
Currently every user has the ability to delete and modify other users’ photos, I wouldn’t want that to happen.  
I attach image  
Thank you

![punt](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/9/c9e5693bf083f36e2e5ab4458a8b054e456d8522.png)

---

<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:** [January 9, 2024, 10:24am UTC](https://community.glideapps.com/t/delete-only-your-own-images/69402/2 "2024-01-09T10:24:23Z")

</div>

Make sure you include a column that indicates which user email added the image, and then only allow delete when that user is the signed in user.

---

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 9, 2024, 1:22pm UTC](https://community.glideapps.com/t/delete-only-your-own-images/69402/3 "2024-01-09T13:22:15Z")

</div>

Thanks, I did as you indicated, now when a user presses the add button, it publishes the photo and retrieves the email from the Users table.  
Now should I use the visibility property?  
thanks again

 ![vis](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5cd8974319e3c65f4324db086930efe747ef826c.png)

---

<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:** [January 9, 2024, 1:24pm UTC](https://community.glideapps.com/t/delete-only-your-own-images/69402/4 "2024-01-09T13:24:27Z")

</div>

Go to the Actions section, and allow deletion. Then set a condition on the delete action: “email is signed in user”.

---

<div class="post-metadata">

**Author:** ![Simo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/simo/32/62132_2.png) [@Simo](https://community.glideapps.com/u/Simo)\
**Post date:** [January 9, 2024, 1:51pm UTC](https://community.glideapps.com/t/delete-only-your-own-images/69402/5 "2024-01-09T13:51:48Z")

</div>

thanks for the help it works 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 16, 2024, 1:52pm UTC](https://community.glideapps.com/t/delete-only-your-own-images/69402/6 "2024-01-16T13:52:35Z")

</div>

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