We have 5 models defined in our LookML. I wanted to experiment with access grants to be able to deploy code that is useful to advanced users of Looker without bothering the basic users with new features.
I defined access grant
<name>_team_only based on user attribute
team = <name>
So far so good. Not sure why but I had to define it in each model, correct?
Next I go to one of the views and insert
required_access_grants to one of the dimensions. Unfortunately upon validation I get errors that this access grant doesn’t exist in one model.
Oops, I forgot about one, so I added it and revalidated it. The error still persisted.
I had to remove
required_access_grants from the dimension, save id, validate it, then go back, add it again, save it, and validate again. Only then the validation passed.
Another question I have is around access in general:
What feature should I use if I want the following scenario:
Specific group of people (based on either user attribute or preferably access grant) can see dimension but everybody can view looks and dashboards containing it?