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:ย 

REVOKE access from users

KVNARK
Honored Contributor II

There is a use-case where we want to REVOKE access from users so that they can't run VACUUM Command on Delta Table.

Can anyone please help here.

1 ACCEPTED SOLUTION

Accepted Solutions

Priyanka_Biswas
Databricks Employee
Databricks Employee

Hello @KVNARK .โ€‹ 

We cannot specifically restrict Vacuum operation alone.

You need to remove "MODIFY" access on the table and restrict only to the "Read" (SELECT) operation

Please note if you restrict to only "read" it will also affect all the write, update, merge into, optimize, truncate including "VACUUM" operation.

Ref: https://docs.databricks.com/data-governance/table-acls/object-privileges.html

View solution in original post

1 REPLY 1

Priyanka_Biswas
Databricks Employee
Databricks Employee

Hello @KVNARK .โ€‹ 

We cannot specifically restrict Vacuum operation alone.

You need to remove "MODIFY" access on the table and restrict only to the "Read" (SELECT) operation

Please note if you restrict to only "read" it will also affect all the write, update, merge into, optimize, truncate including "VACUUM" operation.

Ref: https://docs.databricks.com/data-governance/table-acls/object-privileges.html

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