mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 10:11:13 -05:00
Refactor: Enable RLS for content submissions
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user