mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 06:51:12 -05:00
5 lines
200 B
SQL
5 lines
200 B
SQL
-- Add DELETE policy for moderators on content_submissions table
|
|
CREATE POLICY "Moderators can delete content submissions"
|
|
ON public.content_submissions
|
|
FOR DELETE
|
|
USING (is_moderator(auth.uid())); |