We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8643b commit f6a98e0Copy full SHA for f6a98e0
migrations/tenant/0046-grant-with-grant-option.sql
@@ -0,0 +1,6 @@
1
+do $$
2
+declare
3
+ super_user text = coalesce(current_setting('storage.super_user', true), 'postgres');
4
+begin
5
+ execute 'grant all on storage.buckets, storage.objects to ' || super_user || ' with grant option';
6
+end $$;
0 commit comments