UserEmail OR/And Funciton

So i’ve got a Security filter so the user (via useremail) will only see their assigned task. How do I make it so when I (admin) is logged in, i see all the data?

Function is currently set to: [Email]=useremail()

Solved Solved
0 1 233
1 ACCEPTED SOLUTION

Steve
Participant V

To use the built-in privileges:

OR(
  (USEREMAIL() = [Email]),
  ("admin" = USERROLE())
)

Or, to give only select email addresses that extra privilege:

IN(
  USEREMAIL(),
  LIST(
    [Email],
    "your-email",
    "some-other-admin-email",
    ...
  )
)

View solution in original post

1 REPLY 1

Steve
Participant V

To use the built-in privileges:

OR(
  (USEREMAIL() = [Email]),
  ("admin" = USERROLE())
)

Or, to give only select email addresses that extra privilege:

IN(
  USEREMAIL(),
  LIST(
    [Email],
    "your-email",
    "some-other-admin-email",
    ...
  )
)
Top Labels in this Space