[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: schema allowance must be mutual
From: |
gnunet |
Subject: |
[libeufin] branch master updated: schema allowance must be mutual |
Date: |
Wed, 06 Dec 2023 00:15:25 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new eab51cdd schema allowance must be mutual
eab51cdd is described below
commit eab51cdda48669bce88c2d34c3015ad5c87340de
Author: MS <ms@taler.net>
AuthorDate: Wed Dec 6 00:14:54 2023 +0100
schema allowance must be mutual
---
contrib/libeufin-dbconfig | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/contrib/libeufin-dbconfig b/contrib/libeufin-dbconfig
index ae35f9fb..15d0affe 100755
--- a/contrib/libeufin-dbconfig
+++ b/contrib/libeufin-dbconfig
@@ -204,4 +204,15 @@ then
fi
sudo -u "$BANK_DBUSER" "$BANK_DBINIT" -c "$BANK_CFGFILE"
+if ! echo "GRANT USAGE ON SCHEMA libeufin_bank TO \"$NEXUS_DBUSER\"" \
+ | sudo -i -u postgres psql "$DBNAME"
+then
+ exit_fail "Failed to grant usage privilege on schema 'libeufin_bank'
to '$NEXUS_DBUSER'." 1>&2
+fi
+if ! echo "GRANT SELECT, INSERT, TRIGGER ON ALL TABLES IN SCHEMA libeufin_bank
TO \"$NEXUS_DBUSER\"" \
+ | sudo -i -u postgres psql "$DBNAME"
+then
+ exit_fail "Failed to grant SELECT, INSERT, TRIGGER privileges on
schema 'libeufin_nexus' to '$BANK_DBUSER'." 1>&2
+fi
+
echo "Database configuration finished." 1>&2
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: schema allowance must be mutual,
gnunet <=