-- Premium-only hosted image uploads are issued by the server after checking
-- the linked Discord Premium role. Keep reads and owner deletes available.

drop policy if exists "image_host_owner_insert" on storage.objects;
drop policy if exists "image_host_owner_update" on storage.objects;
drop policy if exists "hosted_images_owner_insert" on public.hosted_images;