Databricks grant update calatog catlog_name --json @privileges.json not updating privileges
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 08:30 AM
Hi Team,
I am trying to update the catalog permission privileges using databricks cli command Grant by appending json file but which is not updating the prIviliges, please help on grant update command usage.
Command using : databricks grants update catalog demo_cat --json @privileges.json
which is listing old prIviliges only, not updating i have updated from ALL_PRIVILEGES to USE_CATALOG
privileges.json content:
{
"privilege_assignments": [
{
"principal":"mailid",
"privileges": [
"USE_CATALOG"
]
}
]
}