SupabaseS
Supabase4mo ago
Uchuu

I am losing my mind with this RLS policy

I have this policy so only premium users can access my DB.
  (((auth.jwt() -> 'app_metadata'::text) ->> 'is_premium'::text))::boolean

But when I try to access it, I get no rows returned.

When I disable RLS, it works
image.png
Was this page helpful?