Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

www: storage example code change (#33054)

hallidayo135e17597b51
diff --git a/apps/www/data/products/storage/permissions-examples.js b/apps/www/data/products/storage/permissions-examples.js
index 9fd8c956452..6dbe854fab9 100644
--- a/apps/www/data/products/storage/permissions-examples.js
+++ b/apps/www/data/products/storage/permissions-examples.js
@@ -37,6 +37,7 @@ on storage.objects
for all using (
bucket_id = 'avatars'
and auth.role() = 'authenticated'
+ and (storage.foldername(name))[1] = 'authenticated'
);`,
detail_title: 'Allow any authenticated user access to a folder',
detail_text: