Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabaseβ€’4y agoβ€’
6 replies
𝐿𝒢𝒸𝒽𝒾𝑒

Referencing other tables in RLS

Hey everyone, I have a custom table for users that have permission to create tournaments named organizers (attachment #1)

I'm wondering how I'd go about referencing the organizers table from the RLS for creating tournaments to check is the user's id is found in it.
image.png
image.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

Partition Tables and RLS
SupabaseSSupabase / help-and-questions
9mo ago
RLS Query referenced tables
SupabaseSSupabase / help-and-questions
3y ago
RLS policy for linking two tables in query
SupabaseSSupabase / help-and-questions
4y ago
Broadcasting on databasse tables and RLS
SupabaseSSupabase / help-and-questions
9mo ago