ROW LEVEL SECURITY ISSUE

I have been checking the thread but none answer my question. I follow on how to create row level secuity but none seem to work. I confirm user is logged in. For context this is local dev supabase with Next js 14 using the SSR packages.

   const { error } = await supabase
          .from("diet_preferences")
          .insert([{ ...convertToJson }])
          .select();

        if (error) {
          throw error;
        }
Screenshot_2023-12-17_001309.png
Screenshot_2023-12-17_001433.png
Screenshot_2023-12-17_001537.png
Screenshot_2023-12-17_001657.png
Was this page helpful?