Skip to content

Commit ccef4fc

Browse files
jl178Jered Little
andauthored
Added READ_VOLUME and WRITE_VOLUME to schema/catalog level grants (#2529)
* Added READ_VOLUME and WRITE_VOLUME to schema level grants * Added missing READ_VOLUME & WRITE_VOLUME grants to catalog --------- Co-authored-by: Jered Little <[email protected]>
1 parent 3773d3b commit ccef4fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

catalog/resource_grants.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ var mapping = securableMapping{
191191
"CREATE_FUNCTION": true,
192192
"CREATE_MATERIALIZED_VIEW": true,
193193
"CREATE_VOLUME": true,
194+
"READ_VOLUME": true,
195+
"WRITE_VOLUME": true,
194196
"EXECUTE": true,
195197
"MODIFY": true,
196198
"SELECT": true,
@@ -207,6 +209,8 @@ var mapping = securableMapping{
207209
"CREATE_FUNCTION": true,
208210
"CREATE_MATERIALIZED_VIEW": true,
209211
"CREATE_VOLUME": true,
212+
"READ_VOLUME": true,
213+
"WRITE_VOLUME": true,
210214
"EXECUTE": true,
211215
"MODIFY": true,
212216
"SELECT": true,

0 commit comments

Comments
 (0)