Trouble with RLS and a custom authorize function - Supabase