I have applied row-level security (RLS) on the department column in the table so that users can only see data related to their own department. The security policy works perfectly when I query the table in Databricks SQL.
Now, I have built a Databricks AI BI dashboard using this table and published it. However, when I provide access to users from a specific department, they are able to see all department data instead of just their own.
Interestingly, when I check the dashboard in draft mode, the RLS is applied correctly, and users only see their departmentโs data. But when the dashboard is published,it seems that the row-level security is not being enforced because users are able to see all departments in the dashboard. Has anyone faced a similar issue? Any insights or suggestions would be highly appreciated!