# Users delete own post

**URL:** <https://community.glideapps.com/t/users-delete-own-post/41759>\
**Category:** Ask for Help\
**Created:** [May 8, 2022, 5:42pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759 "2022-05-08T17:42:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![OnlineNorwegian](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/onlinenorwegian/32/39226_2.png) [@OnlineNorwegian](https://community.glideapps.com/u/OnlineNorwegian)\
**Post date:** [May 8, 2022, 5:42pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/1 "2022-05-08T17:42:31Z")

</div>

Hey!  
Is it possible to do so when a user submits something on glide pages, they can delete their own “post” they just submitted.

If so, how would you do this?

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [May 8, 2022, 6:53pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/2 "2022-05-08T18:53:59Z")

</div>

If you are referring to the built-in chat feature, users cannot delete their posts.

If you are referring to the details screen of a row, first you must enable ‘edit’

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/9/998743f82907b70f8814333391d8ce04b1e1432e.png)

And then on the edit screen, you can allow them to delete. I always add conditions on when they can edit and delete. They can only edit items they entered, and they can only delete items they entered.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/b/ebf47d7cf6f309b47fc1453206d7dce6578e8d4f.png)

---

<div class="post-metadata">

**Author:** ![OnlineNorwegian](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/onlinenorwegian/32/39226_2.png) [@OnlineNorwegian](https://community.glideapps.com/u/OnlineNorwegian)\
**Post date:** [May 8, 2022, 7:26pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/3 "2022-05-08T19:26:11Z")

</div>

Thanks, but what component do you use to be able to have the edit function and that?

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [May 8, 2022, 7:33pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/4 "2022-05-08T19:33:18Z")

</div>

It is available on the detail screen of an item. So if you are in a list, and select an item, that should be in the options (per the screen shots above).

---

<div class="post-metadata">

**Author:** ![OnlineNorwegian](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/onlinenorwegian/32/39226_2.png) [@OnlineNorwegian](https://community.glideapps.com/u/OnlineNorwegian)\
**Post date:** [May 8, 2022, 7:54pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/5 "2022-05-08T19:54:51Z")

</div>

Great now managed that!  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/8/a8f1e0081ce62a1825ace079c3524d2c9246f88c.png)

What kind of filter can I use to make the “edit” button only visible for the original post creator.

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [May 8, 2022, 7:59pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/6 "2022-05-08T19:59:20Z")

</div>

OH, Looks like it works differently on pages. I’ve done mostly Apps and just a landing page in pages.

I’ll have to refer to the documentation on pages; hopefully, a page expert will step in.

---

<div class="post-metadata">

**Author:** ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)\
**Post date:** [May 8, 2022, 9:53pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/7 "2022-05-08T21:53:31Z")

</div>

Ok, I downloaded one of the Glide Page templates;

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/8/88b9b7949ddb1df17f475f95f635e926fed15d2f.png)

and I found on the “Title” component the actions to delete and modify.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/1/f15f66f00b9602f9329cf204dc1b5bfdcef5d42d.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 9, 2022, 12:16am UTC](https://community.glideapps.com/t/users-delete-own-post/41759/8 "2022-05-09T00:16:52Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/d/0dd7613359dd0c5fc25db94bb2f5635bcec194ef.jpeg)

Say you have an “Owner” column with the user’s email/ID, you can show a button with an action like this when “Owner is signed-in user’s email/ID”.

---

<div class="post-metadata">

**Author:** ![Hani\_Ibrahim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/hani_ibrahim/32/42108_2.png) [@Hani\_Ibrahim](https://community.glideapps.com/u/Hani_Ibrahim)\
**Post date:** [May 9, 2022, 6:32am UTC](https://community.glideapps.com/t/users-delete-own-post/41759/9 "2022-05-09T06:32:05Z")

</div>

I am creating two collection from the same component one with edit action to be shown only when current user email equal user profile email.  
The second component without edit action and shown when any other user log in.

---

<div class="post-metadata">

**Author:** ![OnlineNorwegian](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/onlinenorwegian/32/39226_2.png) [@OnlineNorwegian](https://community.glideapps.com/u/OnlineNorwegian)\
**Post date:** [May 9, 2022, 10:42am UTC](https://community.glideapps.com/t/users-delete-own-post/41759/10 "2022-05-09T10:42:42Z")

</div>

Hi!  
Is anyone able to make a step-for-step on Glide Pages on how to do this? Only make the edit option able for the original creator of the post.

It is a bit confusing so far. As I manage to add the button and action, but the conditions are not as simple, as I try to make it so only the original creator can view the button under each detail screen.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 9, 2022, 12:01pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/11 "2022-05-09T12:01:44Z")

</div>

What do you have so far? Please provide us with some screenshots.

---

<div class="post-metadata">

**Author:** ![Dilon\_Perera](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dilon_perera/32/85652_2.png) [@Dilon\_Perera](https://community.glideapps.com/u/Dilon_Perera)\
**Post date:** [May 9, 2022, 3:20pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/12 "2022-05-09T15:20:53Z")

</div>

Maybe this video will help you! :

> **[Post Delete,Edit.mp4](https://drive.google.com/file/d/1gIuOLxRJ8dSlsybOC44tOiT85jcP8PdB/view?usp=drivesdk)**
>
> Google Drive file.

Thank you

---

<div class="post-metadata">

**Author:** ![OnlineNorwegian](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/onlinenorwegian/32/39226_2.png) [@OnlineNorwegian](https://community.glideapps.com/u/OnlineNorwegian)\
**Post date:** [May 9, 2022, 7:18pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/13 "2022-05-09T19:18:53Z")

</div>

Thanks for this great tutorial! I followed it, but when the email is put in “Added by” the rel function returns (?) in the field?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/7/47daf97ec1d59925d3e9bac63c70c779870f2d0f.png)

---

<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:** [May 9, 2022, 7:24pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/14 "2022-05-09T19:24:21Z")

</div>

What a relation column shows is irrelevant. As long as you see something, then you know the relation found a matching row in the table you are relating to. It’s likely that whichever column it chose to show, indicating a related row was found, couldn’t be rendered for whatever reason. It does not change the fact that the relation worked.

---

<div class="post-metadata">

**Author:** ![OnlineNorwegian](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/onlinenorwegian/32/39226_2.png) [@OnlineNorwegian](https://community.glideapps.com/u/OnlineNorwegian)\
**Post date:** [May 9, 2022, 7:54pm UTC](https://community.glideapps.com/t/users-delete-own-post/41759/15 "2022-05-09T19:54:58Z")

</div>

Thanks, yeah it worked!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/b/abcb2a5210f9d711390e829b11657b75bd7b0520.png)

Is there a way to make the “legg ut annonse” which means publish your ad, only available to signed-in users? Like users with a user account, I need their email to be able to have the edit functions.
