© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
66 replies
Shaun

Creating roles on supabase and use direct connection

RLS🔢DB Connections
Hi community, I enabled RLS for my table and created a role called test_role on the supabase console. i realized that when i tried direct connection (ipv6) and session pooler (ipv4) approaches, i couldn't connect to my database when i changed the user to test_role. on the session pooler, i would think it's the role name with a unique id of the project postpended and separated by a "."

i also added a policy "Enable read access for all users" which defaults to all public roles

any advice here will be great.
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
Next page

Similar Threads

Can't use direct connection
SupabaseSSupabase / help-and-questions
8mo ago
Supabase direct connection request timing out for associates
SupabaseSSupabase / help-and-questions
4y ago
Urgent Connection Timeout (Errno 10060) on Direct PostgreSQL Connection
SupabaseSSupabase / help-and-questions
2mo ago
Supabase team roles
SupabaseSSupabase / help-and-questions
4y ago