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 41b262e commit ad1249fCopy full SHA for ad1249f
nix/tests/sql/storage.sql
@@ -95,3 +95,21 @@ order by
95
96
-- storage service migrations
97
select * from storage.migrations ;
98
+
99
+-- postgres can grant storage privileges to custom roles
100
+create role r;
101
+grant r to postgres;
102
103
+set role r;
104
+select * from storage.buckets;
105
106
+set role postgres;
107
+grant usage on schema storage to r;
108
+grant select on storage.buckets to r;
109
110
111
112
113
+reset role;
114
+drop owned by r;
115
+drop role r;
0 commit comments