gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: add credit/debit restrictions


From: gnunet
Subject: [taler-deployment] branch master updated: add credit/debit restrictions
Date: Tue, 05 Mar 2024 10:17:46 +0100

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

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 9b0714b  add credit/debit restrictions
9b0714b is described below

commit 9b0714b385020db4ce380fcb995b228727f53a33
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Mar 5 10:17:42 2024 +0100

    add credit/debit restrictions
---
 regional-currency/setup-exchange.sh | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/regional-currency/setup-exchange.sh 
b/regional-currency/setup-exchange.sh
index e4aff34..585f3a0 100755
--- a/regional-currency/setup-exchange.sh
+++ b/regional-currency/setup-exchange.sh
@@ -230,12 +230,20 @@ if test ${DO_OFFLINE} == y; then
     upload &>> setup.log
 
   if test ${DO_CONVERSION} == y; then
-    say "Conversion account setup..."
+    say "Conversion account setup (restricted to CH-only)..."
 
     sudo -i -u taler-exchange-offline taler-exchange-offline \
       enable-account \
         "${CONVERSION_PAYTO}"  \
         conversion-url "${PROTO}://bank.$DOMAIN_NAME/conversion-info/" \
+        debit-restriction \
+          deny \
+        credit-restriction \
+          regex \
+            'payto://iban/.*/CH.*?receiver-name=.*' \
+            'Swiss only' \
+            '{ "de" : "nur Schweiz", \
+               "fr" : "Suisse uniquement" }'
       upload &>> setup.log
   fi
 fi

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