mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 01:40:01 +00:00
183fe0a93c
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3 lines
182 B
SQL
3 lines
182 B
SQL
CREATE POLICY "Anyone can upload violation response photos"
|
|
ON storage.objects FOR INSERT
|
|
WITH CHECK (bucket_id = 'violation-photos' AND (storage.foldername(name))[1] = 'responses'); |