just create this policy that allows to access buckets to all authenticated users
CREATE POLICY "Allow authenticated users to view bucket" ON storage.buckets FOR SELECT TO authenticated USING (true);