Select not returning any rows after enabling RLS with authenticated policy
I have a table named "Recipes" in my public schema, however I only want logged in users to be able to access the data. So I created a RLS policy as seen below.
However as soon as I activate it, I can no longer access the data through the js api (v2). It returns an empty array.
supabase.from("Recipes").select()
supabase.from("Recipes").select()
Looking at my session from the browser, the access token says I'm an authenticated user (
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.