From ccef4fc615e6dd0a98b530b10aff5fc5e81fe026 Mon Sep 17 00:00:00 2001 From: Jered <72664723+jl178@users.noreply.github.com> Date: Tue, 1 Aug 2023 12:04:55 -0600 Subject: [PATCH] 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 --- catalog/resource_grants.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/catalog/resource_grants.go b/catalog/resource_grants.go index 425f657c1f..f3d0437c2f 100644 --- a/catalog/resource_grants.go +++ b/catalog/resource_grants.go @@ -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, @@ -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,