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!
Was this page helpful?