1
Can supautils.policy_grants authorize CREATE POLICY on storage.objects for the postgres role?
Source: supabase/supabase#54463 · opened by @acromediamail-blip
Hello Supabase community, I'm preparing a database installation for a small music-sharing application using Supabase Free, and I need to verify one specific permission before proceeding. Environment Supabase plan: Free Region: Paris (eu-west-3) PostgreSQL version: 17.11 Current database role: postgres Supautils extension: loaded What I have verified through read-only SQL diagnostics The postgres role is not the owner of storage.objects. RLS is enabled on storage.objects. The postgres role has the relevant ordinary SQL privileges on storage.objects. The supautils.policy_grants configuration contains an entry for the postgres role that includes storage.objects. Two existing public SELECT policies on storage.objects are present and correctly configured. A third policy named melovia_storage_admin_all does not yet exist. My installation script needs to execute a statement equivalent to: CREATE POLICY melovia_storage_admin_all ON storage…
No pledges yet. Be the first to back this.
Comments
Similar requests
[splinter] Proposal: two INFO lints for grant/policy mismatch (privilege_without_policy, policy_without_privilege)
1 vote · 0 comments
Add Storage Backups in Sync with Database Backups
4 votes · 0 comments
Configure External PostgreSQL for Supabase Instead of supabase-db
3 votes · 0 comments
# Proposal: Virtual Storage Columns (Seamless DB-to-Storage Mapping)
1 vote · 0 comments
Custom query parameter on postgrest-js
4 votes · 0 comments
No comments yet.