Skip to content

Commit

Permalink
Added READ_VOLUME and WRITE_VOLUME to schema/catalog level grants (#2529
Browse files Browse the repository at this point in the history
)

* Added READ_VOLUME and WRITE_VOLUME to schema level grants

* Added missing READ_VOLUME & WRITE_VOLUME grants to catalog

---------

Co-authored-by: Jered Little <jered.little@zoominfo.com>
  • Loading branch information
jl178 and Jered Little authored Aug 1, 2023
1 parent 3773d3b commit ccef4fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions catalog/resource_grants.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ var mapping = securableMapping{
"CREATE_FUNCTION": true,
"CREATE_MATERIALIZED_VIEW": true,
"CREATE_VOLUME": true,
"READ_VOLUME": true,
"WRITE_VOLUME": true,
"EXECUTE": true,
"MODIFY": true,
"SELECT": true,
Expand All @@ -207,6 +209,8 @@ var mapping = securableMapping{
"CREATE_FUNCTION": true,
"CREATE_MATERIALIZED_VIEW": true,
"CREATE_VOLUME": true,
"READ_VOLUME": true,
"WRITE_VOLUME": true,
"EXECUTE": true,
"MODIFY": true,
"SELECT": true,
Expand Down

0 comments on commit ccef4fc

Please sign in to comment.