© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
Ryann

Multiple RLS Policies

I have a contacts table with two polices,
- one with an organisation_id check
- two with a user_role check

I have tested that both of these work individually, but combined I guess it always gets a true with the organisation check and will load the data ignoring the role check. Is this normal behaviour?

I would like this to do the checks and if one returns false then it won't load the data, Or do i have to combine these into one Policy ?
unknown.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

RLS policies
SupabaseSSupabase / help-and-questions
13mo ago
Testing RLS policies
SupabaseSSupabase / help-and-questions
4y ago
Supabase - RLS Policies Issues
SupabaseSSupabase / help-and-questions
13mo ago
RLS policies using PostGIS tabl
SupabaseSSupabase / help-and-questions
3w ago