There is one requirement of Looker Hierarchical Row level security As per attached Data available. Like When HOD will login looker he can only see the data under him the managers and employees. When Any mangers login to the dashboard can able see only those employees under him. Please find the attached Data. We have tried with user attributes and access filter but not working in hierarchy level. Could you please help to resolve.
Thanks
Access filters work well when there are one or more restrictions that are logically "AND"-ed together. When you have restrictions that are more complex, such as "the data is for this user OR the data is for users that report to this user", you'll generally need to write that SQL condition by hand and place it inside a sql_always_where statement (leveraging liquid to insert user attributes)
Take a look at this post for more details: https://www.googlecloudcommunity.com/gc/Modeling/Advanced-Permissioning-Using-User-Attributes/td-p/5...
Hi @Falak001
Your requirement of filter the data by dynamically changing column to be filtered can be achieved using below steps. I have tested it in the looker/BQ environment. Let me know for any further queries.
Please do try the latest feature that GCP has come up with ROW Level access security in Bigquery.
For more details here is the URL
https://cloud.google.com/bigquery/docs/row-level-security-intro
This is one of good features in BQ
Hi @nddi - all BigQuery features that rely on user identity should automatically work in Looker when Looker connects to BigQuery using OAuth:
https://cloud.google.com/looker/docs/db-config-google-bigquery#oauth_for_bigquery_connections