# Workaround to permission a “switch” component?

**URL:** <https://community.glideapps.com/t/workaround-to-permission-a-switch-component/5767>\
**Category:** Ask for Help\
**Created:** [March 24, 2020, 1:02pm UTC](https://community.glideapps.com/t/workaround-to-permission-a-switch-component/5767 "2020-03-24T13:02:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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 24, 2020, 1:12pm UTC](https://community.glideapps.com/t/workaround-to-permission-a-switch-component/5767/2 "2020-03-24T13:12:01Z")

</div>

Read this. Basically you will need to create a relation from your items to an admin sheet using a Relation and Lookup to get a list of emails that have access to the switch. Then set visibility to only show when the signed in user is in the lookup.

> [@Admin apps + editing rights](https://community.glideapps.com/t/admin-apps-editing-rights/4465/2):
>
> This is a write-up on some additional thoughts to go along with the video. In regards to the single app example, one idea I had is to build a dynamic list of admin emails. Instead of adding a static column in the sheet with an admin email address, I have two ideas for a dynamic value instead. This first idea is to have an admin sheet that lists all of the admin email addresses. You could create a Single Value column on the data sheet which will obtain the email address of a single admin email…

---

_[View the full topic](https://community.glideapps.com/t/workaround-to-permission-a-switch-component/5767)._
