[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: GRANTing for conversion
From: |
gnunet |
Subject: |
[libeufin] branch master updated: GRANTing for conversion |
Date: |
Wed, 06 Dec 2023 13:47:43 +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 c12426e1 GRANTing for conversion
c12426e1 is described below
commit c12426e1e485038637fa46163f0dacf97c3b59a1
Author: MS <ms@taler.net>
AuthorDate: Wed Dec 6 13:47:31 2023 +0100
GRANTing for conversion
---
contrib/libeufin-dbconfig | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/libeufin-dbconfig b/contrib/libeufin-dbconfig
index 15d0affe..1e9ba109 100755
--- a/contrib/libeufin-dbconfig
+++ b/contrib/libeufin-dbconfig
@@ -197,10 +197,10 @@ if ! echo "GRANT USAGE ON SCHEMA libeufin_nexus TO
\"$BANK_DBUSER\"" \
then
exit_fail "Failed to grant usage privilege on schema 'libeufin_nexus'
to '$BANK_DBUSER'." 1>&2
fi
-if ! echo "GRANT SELECT, INSERT, TRIGGER ON ALL TABLES IN SCHEMA
libeufin_nexus TO \"$BANK_DBUSER\"" \
+if ! echo "GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA libeufin_nexus TO
\"$BANK_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
+ exit_fail "Failed to grant all privileges on schema 'libeufin_nexus'
to '$BANK_DBUSER'." 1>&2
fi
sudo -u "$BANK_DBUSER" "$BANK_DBINIT" -c "$BANK_CFGFILE"
@@ -209,10 +209,10 @@ if ! echo "GRANT USAGE ON SCHEMA libeufin_bank TO
\"$NEXUS_DBUSER\"" \
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\"" \
+if ! echo "GRANT ALL PRIVILEGES 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
+ exit_fail "Failed to grant all privileges on schema 'libeufin_bank' to
'$NEXUS_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: GRANTing for conversion,
gnunet <=