# Filter data by signed in user ELSE ADMIN

**URL:** <https://community.glideapps.com/t/filter-data-by-signed-in-user-else-admin/68395>\
**Category:** Ask for Help\
**Created:** [December 6, 2023, 1:25am UTC](https://community.glideapps.com/t/filter-data-by-signed-in-user-else-admin/68395 "2023-12-06T01:25:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kurt\_Penberth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kurt_penberth/32/66463_2.png) [@Kurt\_Penberth](https://community.glideapps.com/u/Kurt_Penberth)\
**Post date:** [December 6, 2023, 1:25am UTC](https://community.glideapps.com/t/filter-data-by-signed-in-user-else-admin/68395/1 "2023-12-06T01:25:13Z")

</div>

Hey everyone 👋

My users have a bunch of names allocated to them as customers they manage, similar to an acocount manager.

I have a simple list collection where each item contains one of these customers. I need to filter the collection to show only the items managed by the signed-in user. This has already been achieved.

The issue I have is that I need to override that filter if the user signed in is ADMIN (manages ALL customers, therefore need to show ALL items).

What is the best way to achieve this?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [December 6, 2023, 1:29am UTC](https://community.glideapps.com/t/filter-data-by-signed-in-user-else-admin/68395/2 "2023-12-06T01:29:35Z")

</div>

Add (duplicate) list showing everything, the visibility condition set to if the user is admin, and the original list if not.

---

<div class="post-metadata">

**Author:** ![Kurt\_Penberth](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kurt_penberth/32/66463_2.png) [@Kurt\_Penberth](https://community.glideapps.com/u/Kurt_Penberth)\
**Post date:** [December 6, 2023, 1:47am UTC](https://community.glideapps.com/t/filter-data-by-signed-in-user-else-admin/68395/3 "2023-12-06T01:47:06Z")

</div>

Ah yes, that would be the simplest solution. Sometimes they’re right in front of you 🤣 Thank you Uzo!!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [December 13, 2023, 1:47am UTC](https://community.glideapps.com/t/filter-data-by-signed-in-user-else-admin/68395/4 "2023-12-13T01:47:20Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
