mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 14:51:13 -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())); |