gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: USAGE right to the bank on _v


From: gnunet
Subject: [libeufin] branch master updated: USAGE right to the bank on _v
Date: Sun, 03 Dec 2023 20:37:29 +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 0aa2c218 USAGE right to the bank on _v
0aa2c218 is described below

commit 0aa2c218d8ba9c894235fd84c2d0a87f3154855d
Author: MS <ms@taler.net>
AuthorDate: Sun Dec 3 20:36:49 2023 +0100

    USAGE right to the bank on _v
---
 contrib/libeufin-bank-dbconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/libeufin-bank-dbconfig b/contrib/libeufin-bank-dbconfig
index b916b734..1fffc0ac 100755
--- a/contrib/libeufin-bank-dbconfig
+++ b/contrib/libeufin-bank-dbconfig
@@ -105,6 +105,11 @@ then
            echo "Failed to grant access to database '$DBNAME' to '$DBUSER'." 
1>&2
            exit 1
        fi
+       if ! echo "GRANT USAGE ON SCHEMA _v TO \"$DBUSER\"" \
+               | sudo -i -u postgres psql "$DBNAME"
+       then
+           echo "Failed to grant usage privilege on schema '_v' to '$DBUSER'. 
Maybe OK if it does not exist. Will continue." 1>&2
+
        if ! echo "GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA _v TO 
\"$DBUSER\"" \
                | sudo -i -u postgres psql "$DBNAME"
        then

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]