Filter data by signed in user ELSE ADMIN

Hey everyone :wave:

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?

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

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

1 Like

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