From 55c623c2cf3efffdb28be213ef1815f79ea561ad Mon Sep 17 00:00:00 2001 From: Ali Waseem Date: Tue, 23 Jun 2026 13:21:44 -0600 Subject: [PATCH] updated storage tests --- e2e/studio/multigres/setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/e2e/studio/multigres/setup.sh b/e2e/studio/multigres/setup.sh index 4373d476975..113a96515cf 100755 --- a/e2e/studio/multigres/setup.sh +++ b/e2e/studio/multigres/setup.sh @@ -76,6 +76,10 @@ ALTER ROLE supabase_read_only_user WITH LOGIN PASSWORD 'postgres'; GRANT anon, authenticated, service_role TO authenticator; GRANT anon, authenticated, service_role TO postgres; +-- Admin roles switch into the request role (SET ROLE) per request, so they need +-- membership in those roles. +GRANT anon, authenticated, service_role TO supabase_storage_admin; +GRANT anon, authenticated, service_role TO supabase_auth_admin; GRANT supabase_functions_admin, supabase_realtime_admin TO postgres; GRANT supabase_auth_admin, supabase_storage_admin TO postgres;