summaryrefslogtreecommitdiff
path: root/libeufin/nexus-tutorial.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-20 22:19:15 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-20 22:19:15 +0100
commit771e46d672149a9aed348fe9b5621a6b99fe18e4 (patch)
tree8ad1ca15affc3d54073099c61cd4833cb5bfbfcc /libeufin/nexus-tutorial.rst
parent2746d09ef06cc06581f5448727ed8bd8d47706ed (diff)
parenta1869a5950c97042f7c2570c99a7d6a648758f80 (diff)
downloaddocs-771e46d672149a9aed348fe9b5621a6b99fe18e4.tar.gz
docs-771e46d672149a9aed348fe9b5621a6b99fe18e4.tar.bz2
docs-771e46d672149a9aed348fe9b5621a6b99fe18e4.zip
Merge branch 'master' of git+ssh://git.taler.net/docs
Diffstat (limited to 'libeufin/nexus-tutorial.rst')
-rw-r--r--libeufin/nexus-tutorial.rst44
1 files changed, 44 insertions, 0 deletions
diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
index 8c0d941f..6ef78829 100644
--- a/libeufin/nexus-tutorial.rst
+++ b/libeufin/nexus-tutorial.rst
@@ -446,3 +446,47 @@ existing bank account / connection pair.
At this point, the additional *taler-wire-gateway* (FIXME: link
here to API here) API becomes offered by the Nexus. The purpose
is to let a Taler exchange to rely on Nexus to manage its bank account.
+
+
+Managing Permissions and Users
+==============================
+
+This guide has so far assumed that a superuser is accessing the LibEuFin Nexus.
+However, it is advisable that the Nexus is accessed with users that only have a
+minimal set of permissions.
+
+The Nexus currently only has support for giving non-superusers access to Taler
+wire gateway facades.
+
+To create a new user, use the ``users`` subcommand of the CLI:
+
+.. code-block:: console
+
+ $ libeufin-cli users list
+ # [ ... shows available users ... ]
+
+ $ libeufin-cli users create $USERNAME
+ # [ ... will prompt for password ... ]
+
+Permissions are managed with the ``permissions`` subcommand.
+The following commands grant permissions to view the transaction history
+and create payment initiations with a Taler wire gateway facade:
+
+
+.. code-block:: console
+
+ $ libeufin-cli permissions grant \
+ user $USERNAME \
+ facade $FACADENAME \
+ facade.talerWireGateway.history
+
+ $ libeufin-cli permissions grant \
+ user $USERNAME \
+ facade $FACADENAME \
+ facade.talerWireGateway.transfer
+
+The list of all granted permissions can be reviewed:
+
+.. code-block:: console
+
+ $ libeufin-cli permissions list