# "Signed-in user" visibility filter not working

**URL:** <https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392>\
**Category:** Report a Bug\
**Created:** [March 13, 2020, 12:44am UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392 "2020-03-13T00:44:54Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)\
**Post date:** [March 13, 2020, 12:44am UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/1 "2020-03-13T00:44:54Z")

</div>

Hi all, as you can see in the gif below, **Filter** works fine when set to _Admin is signed in user_.  
I changed the _preview as_ to confirm it. But when I tried adding the same condition to **Visibility** it’s not working? Can someone please explain what I’m doing wrong. Thank you~

 ![screen-recorder-fri-mar-13-2020-08-28-24](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/d/d383591879b0fb5eafbd1fd4ec69d8584a554322.gif)

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [March 13, 2020, 2:45am UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/2 "2020-03-13T02:45:08Z")

</div>

Could you share your app and tell me exactly how to get to that screen, please?

---

<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 13, 2020, 4:06am UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/3 "2020-03-13T04:06:29Z")

</div>

You are attempting this on an add screen. I’m guessing it has something to do with trying to set visibility from a value in a row that doesn’t exist yet. You haven’t added anything yet, so the admin relation is empty. The filter works because you are filtering the data from the sheet that’s filling the choice component.

---

<div class="post-metadata">

**Author:** ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)\
**Post date:** [March 13, 2020, 8:47am UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/4 "2020-03-13T08:47:02Z")

</div>

Hi Mark, here’s the link: [publiclink.glideapp.io](http://publiclink.glideapp.io)

That page is the: **Sales Record** (first tab) \> **Add** (top right)

All of the tabs in my app is protected with admin emails except for the Sales Record; I have added a _[test@gmail.com](mailto:test@gmail.com)_ admin. Please do inform me if you need any other information. Thank you~

---

<div class="post-metadata">

**Author:** ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)\
**Post date:** [March 13, 2020, 8:52am UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/5 "2020-03-13T08:52:14Z")

</div>

Hi Jeff, I suspected that too at first, but then _Filter_ works. As far as my limited knowledge goes, both are supposed to be referring an empty _Admin_ column?

Or most probably I’m wrong. Can you please explain what this means, I don’t quite understand:

> [@Jeff\_Hager](#):
>
> The filter works because you are filtering the data from the sheet that’s filling the choice component.

Thank you~

---

<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 13, 2020, 11:26am UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/6 "2020-03-13T11:26:07Z")

</div>

Where is the data coming from that you are using to build your choice component? I’m assuming you have an admin column in that sheet. That is what you are actually filtering. You are not filtering by the admin in the sheet you are trying to add a record too. You are filtering your choice sheet.

The visibility however, is being set by the admin column in the record you are adding…but you haven’t added the record yet, so there is no value in the admin column.

---

<div class="post-metadata">

**Author:** ![Mark](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mark/32/125_2.png) [@Mark](https://community.glideapps.com/u/Mark)\
**Post date:** [March 13, 2020, 1:40pm UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/7 "2020-03-13T13:40:15Z")

</div>

Exactly what @Jeff_Hager said.

If you want to bring in an admin column that works right away, you can do that via a Single Value column.

---

<div class="post-metadata">

**Author:** ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)\
**Post date:** [March 15, 2020, 3:08pm UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/8 "2020-03-15T15:08:47Z")

</div>

Hi guys, sorry I’ve been really busy lately.

> [@Jeff\_Hager](#):
>
> You are not filtering by the admin in the sheet you are trying to add a record too. You are filtering your choice sheet.

Thanks a lot @Jeff_Hager for clarifying! Now I understand how it works 😄

And thank you too @Mark for the suggestion! I tried that and now it works as intended! 😁

One last question, now I have multiple Single Value column, is there any way to combine them into an [Array Column](https://docs.glideapps.com/all/reference/data-editor/array-column)?

Thank you~

---

<div class="post-metadata">

**Author:** ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)\
**Post date:** [March 15, 2020, 3:58pm UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/9 "2020-03-15T15:58:32Z")

</div>

Nevermind guys! I got it working already! 😄

Thanks again for everyone’s help. Really appreciate it! 🥰

---

<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 15, 2020, 4:01pm UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/10 "2020-03-15T16:01:15Z")

</div>

I’ll post this anyway. If you have multiple admins, I would take a different approach. Check out my post here.

> [@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…

---

<div class="post-metadata">

**Author:** ![Mujahid\_Lokman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mujahid_lokman/32/4337_2.png) [@Mujahid\_Lokman](https://community.glideapps.com/u/Mujahid_Lokman)\
**Post date:** [March 15, 2020, 5:25pm UTC](https://community.glideapps.com/t/signed-in-user-visibility-filter-not-working/5392/11 "2020-03-15T17:25:55Z")

</div>

Thanks Jeff! It helped! 🤩
