Refactor: Enable RLS for content submissions

This commit is contained in:
gpt-engineer-app[bot]
2025-09-30 18:35:07 +00:00
parent 5c9a4dc249
commit 6f1544309e

View File

@@ -0,0 +1,15 @@
-- The content_submissions table already has RLS policies defined
-- We just need to ensure RLS is enabled (it should already be enabled from previous migrations)
-- This migration verifies RLS is enabled
-- Verify RLS is enabled on content_submissions
ALTER TABLE public.content_submissions ENABLE ROW LEVEL SECURITY;
-- Verify all existing RLS policies are in place
-- (They should already exist from previous migrations, but we document them here)
-- Users can create submissions (already exists)
-- Users can view their own submissions (already exists)
-- Moderators can view all content submissions (already exists)
-- Moderators can update content submissions (already exists)
-- Moderators can delete content submissions (already exists)