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,25 @@
-- Create arc-files storage bucket
INSERT INTO storage.buckets (id, name, public)
VALUES ('arc-files', 'arc-files', true)
ON CONFLICT (id) DO NOTHING;
-- Allow authenticated users to upload
CREATE POLICY "Authenticated users can upload arc files"
ON storage.objects FOR INSERT TO authenticated
WITH CHECK (bucket_id = 'arc-files');
-- Allow authenticated users to read
CREATE POLICY "Authenticated users can read arc files"
ON storage.objects FOR SELECT TO authenticated
USING (bucket_id = 'arc-files');
-- Allow public read for previews
CREATE POLICY "Public can read arc files"
ON storage.objects FOR SELECT TO anon
USING (bucket_id = 'arc-files');
-- Allow authenticated users to delete their uploads
CREATE POLICY "Authenticated users can delete arc files"
ON storage.objects FOR DELETE TO authenticated
USING (bucket_id = 'arc-files');