aboutsummaryrefslogtreecommitdiff
path: root/contrib/taler-exchange-dbconfig
diff options
context:
space:
mode:
authorMS <ms@taler.net>2023-12-06 15:31:30 +0100
committerMS <ms@taler.net>2023-12-06 15:31:30 +0100
commit68dfd6de643d2dc9e762fcc6e10b752a800ea129 (patch)
tree1cb6fa9f5eb8cec9a40f13e52dc53b61a4f0e7dc /contrib/taler-exchange-dbconfig
parenta2543eace6d2fb30ee523a6ad8305320ce1f0a2c (diff)
GRANTing on schema 'exchange'
Diffstat (limited to 'contrib/taler-exchange-dbconfig')
-rwxr-xr-xcontrib/taler-exchange-dbconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/taler-exchange-dbconfig b/contrib/taler-exchange-dbconfig
index ec3584656..d125cf910 100755
--- a/contrib/taler-exchange-dbconfig
+++ b/contrib/taler-exchange-dbconfig
@@ -168,6 +168,8 @@ then
echo -e 'GRANT SELECT,INSERT,UPDATE ON ALL TABLES IN SCHEMA exchange TO "'"$GROUPIE"'";\n' \
'GRANT USAGE ON ALL SEQUENCES IN SCHEMA exchange TO "'"$GROUPIE"'";\n' \
| sudo -u "$DBUSER" psql "$DBNAME"
+ echo -e 'GRANT USAGE ON SCHEMA exchange TO "'"$GROUPIE"'"' \
+ | sudo -u "$DBUSER" psql "$DBNAME"
# FIXME: double-check the following GRANTs
echo -e 'GRANT USAGE ON SCHEMA _v TO "'"$GROUPIE"'"' \
| sudo -u "$DBUSER" psql "$DBNAME"