Fix security vulnerability

This commit is contained in:
gpt-engineer-app[bot]
2025-10-26 15:05:22 +00:00
parent f9228d5024
commit 47ac10da2f
3 changed files with 8 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
-- 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);