gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: debian: db permissions


From: gnunet
Subject: [taler-merchant] branch master updated: debian: db permissions
Date: Sat, 28 Aug 2021 20:33:09 +0200

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 8be70859 debian: db permissions
8be70859 is described below

commit 8be7085974d1878df4cd0b3253418003c9f95fa2
Author: Florian Dold <florian@dold.me>
AuthorDate: Sat Aug 28 20:32:10 2021 +0200

    debian: db permissions
---
 contrib/merchant-backoffice | 2 +-
 debian/db/install/pgsql     | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/contrib/merchant-backoffice b/contrib/merchant-backoffice
index 03c8c9b7..4320467d 160000
--- a/contrib/merchant-backoffice
+++ b/contrib/merchant-backoffice
@@ -1 +1 @@
-Subproject commit 03c8c9b794905878175d07366267bdc01c3795b9
+Subproject commit 4320467db1392e5f48a4acd079f7e2a253cf9984
diff --git a/debian/db/install/pgsql b/debian/db/install/pgsql
index 3ea6b266..5ad50a33 100755
--- a/debian/db/install/pgsql
+++ b/debian/db/install/pgsql
@@ -15,6 +15,9 @@ if [ -f /etc/dbconfig-common/taler-merchant.conf ]; then
     # We assume ident auth here.  We might support password auth later.
     echo -e "[merchantdb-postgres]\nCONFIG=postgres:///${dbc_dbname}\n\n" > \
       $merchantdb_secretconf
+
+    # Allow the taler-merchant-httpd user to create schemas, needed by dbinit
+    echo 'GRANT CREATE on database "talermerchant" to "taler-merchant-httpd";' 
| sudo -u postgres psql -f -
     # Run database initialization logic
     sudo -u taler-merchant-httpd taler-merchant-dbinit -c /etc/taler/taler.conf
     ;;

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