Privileges revoked from all storage tables after pull of storage schema
I'm trying to sync all my RLS policies of my buckets by running
supabase db pull --schema storage
supabase db pull --schema storage
, but for some reason the generated migration file creates statements that revokes all privileges from all database users from the storage schema. Is this normal? How can I fix it?
revoke delete on table "storage"."buckets" from "anon";revoke insert on table "storage"."buckets" from "anon";revoke references on table "storage"."buckets" from "anon";revoke select on table "storage"."buckets" from "anon";revoke trigger on table "storage"."buckets" from "anon";revoke truncate on table "storage"."buckets" from "anon";revoke update on table "storage"."buckets" from "anon";revoke delete on table "storage"."buckets" from "authenticated";revoke insert on table "storage"."buckets" from "authenticated";revoke references on table "storage"."buckets" from "authenticated";
revoke delete on table "storage"."buckets" from "anon";revoke insert on table "storage"."buckets" from "anon";revoke references on table "storage"."buckets" from "anon";revoke select on table "storage"."buckets" from "anon";revoke trigger on table "storage"."buckets" from "anon";revoke truncate on table "storage"."buckets" from "anon";revoke update on table "storage"."buckets" from "anon";revoke delete on table "storage"."buckets" from "authenticated";revoke insert on table "storage"."buckets" from "authenticated";revoke references on table "storage"."buckets" from "authenticated";
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.