{"-- Edited to remove CREATE POLICY (not valid syntax)
-- Add Super Admin select access where missing
-- 1) Allow super admin to view all form assignments
CREATE POLICY \"Super admin can view all form assignments\"
ON public.form_assignments
FOR SELECT
USING (is_current_user_super_admin())","-- 2) Allow super admin to view all branches
CREATE POLICY \"Super admin can view all branches\"
ON public.branches
FOR SELECT
USING (is_current_user_super_admin())"}