79827335

Date: 2025-11-22 13:22:30
Score: 1.5
Natty:
Report link

Is role() a function defined in the auth schema? As far as I know the auth schema on Supabase will only have auth.uid() defined by default. You could try auth.uid() is not null as your indicator that the user is authenticated. Or instead of defining it as a policy for 'public' define it for 'authenticated'

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: TY Mathers