-- Storage policies configuration for Supabase -- Note: Storage bucket policies are managed by Supabase internally -- This file provides guidance on what should be configured -- Storage bucket policies should be configured through: -- 1. Supabase Dashboard > Storage > Policies -- 2. Or via SQL with proper permissions (requires service_role or owner access) -- Recommended policies for storage.buckets: -- - Super admin has full access to buckets -- - Users can create their own buckets -- - Users can view their own buckets or public buckets -- Recommended policies for storage.objects: -- - Users can upload to buckets they own -- - Users can view objects in public buckets -- - Users can manage objects in buckets they own -- Note: These policies require the service_role or appropriate permissions -- to be applied to the storage schema tables