mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 09:50:01 +00:00
Add ACMCC app source, Supabase backend, and project config
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
-- RLS policies for the 'files' storage bucket
|
||||
CREATE POLICY "Authenticated users can upload to files bucket"
|
||||
ON storage.objects
|
||||
FOR INSERT
|
||||
TO authenticated
|
||||
WITH CHECK (bucket_id = 'files');
|
||||
|
||||
CREATE POLICY "Authenticated users can read files bucket"
|
||||
ON storage.objects
|
||||
FOR SELECT
|
||||
TO authenticated
|
||||
USING (bucket_id = 'files');
|
||||
|
||||
CREATE POLICY "Authenticated users can update files bucket"
|
||||
ON storage.objects
|
||||
FOR UPDATE
|
||||
TO authenticated
|
||||
USING (bucket_id = 'files')
|
||||
WITH CHECK (bucket_id = 'files');
|
||||
|
||||
CREATE POLICY "Authenticated users can delete from files bucket"
|
||||
ON storage.objects
|
||||
FOR DELETE
|
||||
TO authenticated
|
||||
USING (bucket_id = 'files');
|
||||
Reference in New Issue
Block a user