cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Show all privileges granted to principal

alm
New Contributor III

Given the name of a principal in Databricks (I'm using account-level groups) is there an easy way to query or in other way obtain all privileges granted to this principal?

I know I can obtain the information by querying in several of the system.information_schema and will do that if there isn't a simpler option. It just seems like information that should be readily accessible?

4 REPLIES 4

alm
New Contributor III

This dosn't really address my problem.

I worked around it and found another solution. It just surprised me that this information isn't readily available  

Ivan_Donev
New Contributor III

How did you solve your problem? By going through the information_schema or system tables? Or something else?

alm
New Contributor III

Yes, I used a combination of the information_schema.{object_type}_privileges tables. As the naming varies, i.e. catalog_name in schema_privileges but table_catalog in table_privileges, it's a bit cumbersome but definitely possible.

sakthi_sujitha
Databricks Employee
Databricks Employee

This link will provide details on how to verify all the privileges granted to Service Principals 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group