ABAC Policies Not Working on Metric Views

JUMAN4422
Databricks Partner

I wanted to check if ABAC (Attribute-Based Access Control) policies can be applied to metric views in Databricks.

I have successfully applied ABAC policies on a fact table, and they are working as expected. However, when I query a metric view that uses this fact table as its source, the policy does not seem to be enforced as expected.

Is this a known limitation, or am I missing something in the configuration? Any guidance would be appreciated.

Thanks!

szymon_dybczak
Esteemed Contributor III

Hi @JUMAN4422 ,

Yes, this is a limitation. You cannot apply ABAC policies directly to views. Since metric views are a special type of view (CREATE VIEW ... WITH METRICS), so this limitation applies to them as well.

ABAC requirements, quotas, and limitations | Databricks on AWS

 

If the answer was helpful, please consider marking it as accepted solution

View solution in original post