Skip to content

Commit ac6dc23

Browse files
authored
Add support for USE_MARKETPLACE_ASSETS privilege to metastore (#2505)
* Update docs to include USE_MARKETPLACE_ASSETS privilege * Add USE_MARKETPLACE_ASSETS to metastore privileges
1 parent b130c36 commit ac6dc23

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

catalog/resource_grants.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ var mapping = securableMapping{
246246
"USE_PROVIDER": true,
247247
"USE_SHARE": true,
248248
"USE_RECIPIENT": true,
249+
"USE_MARKETPLACE_ASSETS": true,
249250
"SET_SHARE_PERMISSION": true,
250251
},
251252
"function": {

docs/resources/grants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Unlike the [SQL specification](https://docs.databricks.com/sql/language-manual/s
3838

3939
## Metastore grants
4040

41-
You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `SET_SHARE_PERMISSION`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to [databricks_metastore](metastore.md) id specified in `metastore` attribute.
41+
You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to [databricks_metastore](metastore.md) id specified in `metastore` attribute.
4242

4343
```hcl
4444
resource "databricks_grants" "sandbox" {

0 commit comments

Comments
 (0)