cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

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!

1 ACCEPTED SOLUTION

Accepted Solutions

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

1 REPLY 1

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