© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
3 replies
maja

Permission denied on schema <schema_name> from supabase UI

Hi everyone, I'm trying to view my data via the supabase UI and running to this issue (see attached SS). I'm pretty sure the problem is that this schema was created / is owned by a different user (one I created for an external integration) so postgres, supabase_admin, or whatever user is executing the query to display to the UI does not have access to it by default. (
SELECT current_user; -- returns postgres
SELECT current_user; -- returns postgres
)

I guess my question is twofold -

1. how should I resolve this in the short-term (is there a better way other than to make sure I
grant all on schema ... to ...
grant all on schema ... to ...
after creating each schema
2. is there a set of best-practices for application-specific user management
Screen_Shot_2023-12-08_at_3.13.16_PM.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Permission denied for schema citext
SupabaseSSupabase / help-and-questions
13mo ago
Supabase Webhook causes ‘permission denied for schema net’ error
SupabaseSSupabase / help-and-questions
3mo ago
Supabase link giving me permission denied
SupabaseSSupabase / help-and-questions
4mo ago
Permission denied
SupabaseSSupabase / help-and-questions
3y ago