savevictoriaway/supabase/migrations/20251026150444_b0a484eb-69c3-411e-8a0f-2f997b3e639e.sql
gpt-engineer-app[bot] 47ac10da2f Fix security vulnerability
2025-10-26 15:05:22 +00:00

3 lines
208 B
SQL

-- Fix the security definer view by enabling security invoker mode
-- This ensures the view respects RLS policies of the querying user
ALTER VIEW public.petition_signatures_public SET (security_invoker = on);