© 2026 Hedgehog Software, LLC

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

Help with SQL conditional statements inside Supabase policy.

I have a table called "project" with a row called "visibility" which contains a string. How can I use a conditional statement to check for the visibility of the project being equal to "public" in order to allow for anonymous select access to the table? thank you!
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

Help with policy condition
SupabaseSSupabase / help-and-questions
14mo ago
Supabase Auth Password Policy
SupabaseSSupabase / help-and-questions
3y ago
Help with Implementing Supabase RLS Policy for Specific Field Update
SupabaseSSupabase / help-and-questions
3y ago
need help with RLS policy
SupabaseSSupabase / help-and-questions
5mo ago