Hosted Supabase: Supported method for hardening supabase_admin default ACLs? #48063
hamzarahbyy-bot
started this conversation in
Contribute to Supabase
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We are preparing a production security release for a hosted Supabase project.
Our security audit is complete and all local rehearsals pass.
The only remaining blocker concerns future default privileges owned by the internal
supabase_adminrole.We verified that the hosted
postgresrole cannot execute:SET ROLE supabase_admin;
-- ERROR: 42501
ALTER DEFAULT PRIVILEGES FOR ROLE supabase_admin ...;
-- ERROR: 42501
We understand that
supabase_adminis a platform-managed role and that hostedpostgresis not a PostgreSQL superuser.Our question is:
What is the officially supported way to guarantee secure default privileges for future objects in a hosted Supabase project?
Specifically:
Is there a supported mechanism (Dashboard, CLI, migration, API, or support-assisted process) that executes as the real
supabase_admin?Or is the recommended model simply:
postgres,supabase_admindefault ACLs because they are platform-managed?We are intentionally avoiding unsupported role escalation or managed-schema modifications.
Any official guidance would be appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions