Add ACMCC app source, Supabase backend, and project config

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 20:19:26 -04:00
parent 313b51b412
commit 183fe0a93c
1422 changed files with 259271 additions and 0 deletions
@@ -0,0 +1,12 @@
-- Drop the overly permissive homeowner SELECT policy
DROP POLICY IF EXISTS "Homeowners can read active stripe mappings" ON public.stripe_account_mappings;
-- Create a restricted SELECT policy: homeowners can only read mappings for their own association
CREATE POLICY "Homeowners can read own association stripe mappings"
ON public.stripe_account_mappings
FOR SELECT
TO authenticated
USING (
is_active = true
AND association_id IN (SELECT get_user_association_ids())
);