Files
acmcc/supabase/migrations/20260322195957_d6c6faf3-a67d-4172-af1d-015802b00e78.sql
T
2026-06-01 20:19:26 -04:00

7 lines
204 B
SQL

CREATE POLICY "Admins and managers can delete form inbox"
ON public.form_inbox
FOR DELETE
TO authenticated
USING (
has_role(auth.uid(), 'admin'::app_role) OR has_role(auth.uid(), 'manager'::app_role)
);