gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: dbconfig: grant CREATE on DB


From: gnunet
Subject: [taler-exchange] branch master updated: dbconfig: grant CREATE on DB
Date: Mon, 02 Dec 2024 23:32:48 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 1eff2e0a1 dbconfig: grant CREATE on DB
1eff2e0a1 is described below

commit 1eff2e0a161e40c2a301966c9e35a7a0221c7042
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Dec 2 23:32:42 2024 +0100

    dbconfig: grant CREATE on DB
---
 contrib/taler-exchange-dbconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/taler-exchange-dbconfig b/contrib/taler-exchange-dbconfig
index 3bfd4a36b..8f8a6839a 100755
--- a/contrib/taler-exchange-dbconfig
+++ b/contrib/taler-exchange-dbconfig
@@ -152,6 +152,9 @@ if [ 0 = "$SKIP_DBINIT" ] || [ 1 = "$FORCE_PERMS" ]; then
         sudo -u "$DBUSER" psql "$DBNAME"
       echo -e 'GRANT USAGE ON SCHEMA exchange TO "'"$GROUPIE"'"' |
         sudo -u "$DBUSER" psql "$DBNAME"
+      # Auditor needs to create schema in exchange database.
+      echo -e 'GRANT CREATE ON DATABASE "'"$DBNAME"'" 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"

-- 
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]