I’m trying to create a filter based on app users login email which will then permit then certain rights.
Each users email is linked to a user level and a respective site location (on a google sheet, attached).
The site locations are NJ, D1, ZN, OL, NU and ALL.
The user levels are Super-Admin, Admin, and User
I’m essentially trying to create a security filter that will permit the following:
User level “User” are only permitted to ADDS_ONLY. The user is also limited to only seeing data from their respective site.
User level “Admin” are permitted to ALL_CHANGES. The user is also limited to only seeing data from their respective site.
User level “Super-Admin” are permitted to ALL_CHANGES. The user is able to see all data from all sites (this user level is given the site location as ALL)
Is it possible to create a security filter? And what will the impact on performance be?
I’ve also encountered this with the other filters I’ve put based on what you sent. Anyway around this (issue also arise when i specifically pick the email column for the respective table)?
Thanks.
That syntax is for dereferencing a list, – not a single value. Your [Email] column presumably does not hold list values, and if it did that wouldn’t make sense in the context of your expression.
For the INDEX portion of your expression, you probably need something more along the lines of the following: