SupabaseS
Supabase6mo ago
Kian

how to remove/adjust rls on a storage

I dont have issues tweaking rls for edge functions but hitting a snag for storage

((bucket_id = 'videos'::text) AND (storage.extension(name) = 'mp4'::text) AND (lower((storage.foldername(name))[1]) = 'public'::text) AND (auth.role() = 'anon'::text))



tbh I would like to make it any just for a shortwhile as im debugging everything and I have insert checked above but no matter what I do I get new row violates row security.

I have two other rls and they are a bit stricter for my live app, does our permissions go with most restrictive or it goes with whatever that applies?
Was this page helpful?