# Edit pencil conditions

**URL:** <https://community.glideapps.com/t/edit-pencil-conditions/28788>\
**Category:** Ask for Help\
**Created:** [July 6, 2021, 3:47pm UTC](https://community.glideapps.com/t/edit-pencil-conditions/28788 "2021-07-06T15:47:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jillrohan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jillrohan/32/3737_2.png) [@jillrohan](https://community.glideapps.com/u/jillrohan)\
**Post date:** [July 6, 2021, 3:47pm UTC](https://community.glideapps.com/t/edit-pencil-conditions/28788/1 "2021-07-06T15:47:12Z")

</div>

I am having trouble setting conditions for the edit pencil when using apro app. It works as it always has on the free apps, but on the pro app I can no longer pick my “user”

I would like to set the condition as “Allow Users to edit when user is administrator.”  
But the “user” only allows me to select a choice from the the first row of the sheet.

 ![Screenshot Edit](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/1/317ac568d2ee5ff00f854e3426fc05a07ba99ef5.jpeg)

---

<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:** [July 6, 2021, 4:15pm UTC](https://community.glideapps.com/t/edit-pencil-conditions/28788/2 "2021-07-06T16:15:14Z")

</div>

You are just picking the column it should look at. Then the rest of your condition should check of that column IS ‘Admin’. When using user profiles, it should default to the row of the user that is currently signed in.

---

<div class="post-metadata">

**Author:** ![jillrohan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jillrohan/32/3737_2.png) [@jillrohan](https://community.glideapps.com/u/jillrohan)\
**Post date:** [July 6, 2021, 4:25pm UTC](https://community.glideapps.com/t/edit-pencil-conditions/28788/3 "2021-07-06T16:25:46Z")

</div>

Thanks Jeff. So every sheet (tab) would need a User column and then I would have to designate in that column who the admin would be?  
I only have one User sheet for the whole app.

---

<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:** [July 6, 2021, 5:41pm UTC](https://community.glideapps.com/t/edit-pencil-conditions/28788/4 "2021-07-06T17:41:38Z")

</div>

No, only the user profile sheet needs the column. Your screenshot shows that you are trying to get a value from the user profile sheet, but you mentioned the user profile was showing values from the first row in the user profile sheet. That would most likely mean that you are previewing the app as the first user.

I am however, a little confused that your screenshot is showing data instead of headers. Does your user profile sheet have a header row?

---

<div class="post-metadata">

**Author:** ![jillrohan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jillrohan/32/3737_2.png) [@jillrohan](https://community.glideapps.com/u/jillrohan)\
**Post date:** [July 6, 2021, 6:57pm UTC](https://community.glideapps.com/t/edit-pencil-conditions/28788/5 "2021-07-06T18:57:12Z")

</div>

Thanks again Jeff. I finally got it. You were right…I did not have a header row on my User sheet. I had actually taken the user sheet off because it was a duplicate of my whitelist sheet and I thought that was all I needed.  
Now I am attempting to be able to allow the administrators to get into the builder for even greater editing capabilities. That’s tomorrow’s project.
