From 8a0d8651d0be9b17e4b6ca2c1beba0d7dd4fd0c0 Mon Sep 17 00:00:00 2001 From: rebru <13044833+rebruCH@users.noreply.github.com> Date: Sat, 25 Jul 2020 23:50:36 +0200 Subject: [PATCH 1/2] Update configuring-playbook-ma1sd.md Add an example to open all domains for registration in relation to black- and whitelists. --- docs/configuring-playbook-ma1sd.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/configuring-playbook-ma1sd.md b/docs/configuring-playbook-ma1sd.md index 06a5a5b9..bb8b2782 100644 --- a/docs/configuring-playbook-ma1sd.md +++ b/docs/configuring-playbook-ma1sd.md @@ -90,6 +90,22 @@ matrix_ma1sd_configuration_extension_yaml: | number: '+' ``` +## Example: Open Registration for every Domain + +If you want open all domains, you have to setup the allowed variable under policy, which is the return value if nothing else did match (white- and blacklist). But be aware, you cant block toplevel domains (aka .xy) because the internal architecture of ma1sd didnt allow that. + +```yaml +matrix_ma1sd_configuration_extension_yaml: | + register: + policy: + allowed: true + threepid: + email: + domain: + blacklist: ~ + whitelist: ~ +``` + ## Troubleshooting If email address validation emails sent by ma1sd are not reaching you, you should look into [Adjusting email-sending settings](configuring-playbook-email.md). From f404a771cfcca13078d349326c2cb886dbc02267 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Sun, 26 Jul 2020 18:24:53 +0300 Subject: [PATCH 2/2] Try to improve wording a bit --- docs/configuring-playbook-ma1sd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuring-playbook-ma1sd.md b/docs/configuring-playbook-ma1sd.md index bb8b2782..aca858f2 100644 --- a/docs/configuring-playbook-ma1sd.md +++ b/docs/configuring-playbook-ma1sd.md @@ -92,7 +92,7 @@ matrix_ma1sd_configuration_extension_yaml: | ## Example: Open Registration for every Domain -If you want open all domains, you have to setup the allowed variable under policy, which is the return value if nothing else did match (white- and blacklist). But be aware, you cant block toplevel domains (aka .xy) because the internal architecture of ma1sd didnt allow that. +If you want to open registration for any domain, you have to setup the allowed domains with ma1sd's `blacklist` and `whitelist`. The default behavior when neither the `blacklist`, nor the `whitelist` match, is to allow registration. Beware: you can't block toplevel domains (aka `.xy`) because the internal architecture of ma1sd doesn't allow that. ```yaml matrix_ma1sd_configuration_extension_yaml: |