landingpage

This commit is contained in:
2026-08-24 13:38:25 +07:00
commit d8e4e8a502
84 changed files with 12729 additions and 0 deletions
@@ -0,0 +1,9 @@
-- Allow anon to read (and satisfy INSERT ... RETURNING) rows in the public
-- 'gallery' bucket. Reads of object URLs from a public bucket already bypass
-- RLS; this policy only unblocks the row returned by the upload INSERT.
CREATE POLICY storage_objects_gallery_select ON storage.objects
FOR SELECT TO anon
USING (bucket = 'gallery');
GRANT SELECT ON storage.objects TO anon;