databrickslabs / overwatch

Capture deep metrics on one or all assets within a Databricks workspace
Other
226 stars 64 forks source link

Grant to views issue #1242

Closed letssamu closed 1 month ago

letssamu commented 3 months ago

Sensitive Content Alert Please remember that this repository is publicly visible so do not post anything sensitive in your report such as user emails, secrets, etc.

Overwatch Version 0.8.0.0 with UC

Describe the bug After granting select to a view to a user, it shows an error that the user doesn't have permissions to read files in external location, use schema and select the table

Screenshots image

image

image

Aflter those grants, the query worked but I have the doubt if I have to grant access to the table if I want users to use the views.

Issue Reports Please provide the reports requested from the Troubleshooting page in the docs.

ashlytee commented 3 months ago

Hi @letssamu,

Please go thorough this document and provide with necessary permissions. Thank you

https://databrickslabs.github.io/overwatch/deployoverwatch/ucedeployment/uceprereqs/#sql-command-to-grant-permissions-to-various-uc-objects

letssamu commented 3 months ago

Hi @ashlytee ,

I want to grant Select to the Views to a user, the workflow runs ok. The documentation Is yo grant permissions to the principal to run overwatch, I want the user to query the Views not accessing the tables.

letssamu commented 1 month ago

Hi @ashlytee @mohanbaabu1996 ,

Do you have any update about this question please? It seems I have to grant select to ETL tables to users to consume the information.

PD: I'm using UC.

ashlytee commented 1 month ago

Hi @letssamu,

Yes, you have to grand all permissions ( grant select to ETL tables to users) to consume the information in UC.

ashlytee commented 1 month ago

Hi @letssamu ,

I'm hoping this is resolved. Kindly respond to this if you need any additional help.