mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 09:50:01 +00:00
183fe0a93c
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
7 lines
204 B
SQL
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)
|
|
); |