# 🖋 Conditions for Edit and Delete

**URL:** <https://community.glideapps.com/t/conditions-for-edit-and-delete/5225>\
**Category:** General\
**Created:** [March 6, 2020, 12:13am UTC](https://community.glideapps.com/t/conditions-for-edit-and-delete/5225 "2020-03-06T00:13:32Z")\
**Posts on this page:** 1\
**Showing post:** 20

<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:** [March 7, 2020, 9:53pm UTC](https://community.glideapps.com/t/conditions-for-edit-and-delete/5225/20 "2020-03-07T21:53:54Z")

</div>

> [@kyleheney](#):
>
> Edit… This doesn’t really work the way I want it to… the user who created the row is what is going to be related with… not necessarily the signed in user (who would be the Admin Role). There almost needs to be a way in the editor to get the value of the signed in user at any given time.

Just curious what didn’t work? I think your relate/lookup situation would work just fine to get an array of admin emails. Then set up 2 filters with an OR to check if the signed in user is the creator of the row, or the signed in user is in the array of emails from the lookup to a sheet that lists the admins.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/5/54db2d0f9c7c438f40ec9d222af934f08f38c166.png)

---

_[View the full topic](https://community.glideapps.com/t/conditions-for-edit-and-delete/5225)._
