cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
Valued Contributor
Valued Contributor

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
Valued Contributor
Valued Contributor

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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.