commit c8e9fd65dc950ec7396f97504ffa5566a08698bc
parent f74f9bbed0ccc46dbcb8aa44f4c390a1f9c32434
Author: Christian Grothoff <christian@grothoff.org>
Date: Fri, 19 Jul 2024 15:09:41 +0200
introduce default check and skip check
Diffstat:
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -1612,6 +1612,12 @@ and freeze or unfreeze accounts suspected of money laundering.
// measure?
expiration_time: Timestamp;
+ // New check to provide to the user. Should
+ // typically be used to give the user some
+ // information or request additional information.
+ // Must not be "skip".
+ new_check?: String;
+
// Name of the measure to apply when the expiration time is
// reached. If not set, we refer to the default
// set of rules (and the default account state).
diff --git a/design-documents/023-taler-kyc.rst b/design-documents/023-taler-kyc.rst
@@ -1049,6 +1049,14 @@ for a particular exchange release.
The outcome of *any* check should always be uploaded encrypted into the
``kyc_attributes`` table. It MUST include an ``expiration_time``.
+The "check_name" value "skip" is reserved and must not be defined. It can be
+used in measures where the AML program must be run immediately without any
+input.
+
+A check with the "check_name" of "default" should be configured. This check is
+used when users inquire about KYC in the original state before any trigger
+thresholds have been passed.
+
Configuration of legitimization requirement triggers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1183,9 +1191,9 @@ Finally, the configuration specifies a set of
# Refers to a ``[aml-program-$PROG_NAME]`` section name.
PROGRAM = taler-aml-program
-If no ``CHECK_NAME`` is provided at all, the AML ``PROGRAM`` is to be run
-immediately. This is useful if no client-interaction is required to arrive at
-a decision.
+If ``CHECK_NAME`` is set to "SKIP" (or is not provided at all), the AML
+``PROGRAM`` is to be run immediately. This is useful if no client-interaction
+is required to arrive at a decision.
.. note::