From 0637c2d1b18cd1f27b74646b1dcf6e2428362c65 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 29 Apr 2022 19:06:05 +0000 Subject: [PATCH] 96_allowed.pm: clarify allowedIfAuthenticatedByMe documentation (Forum #127463) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@26004 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/96_allowed.pm | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/FHEM/96_allowed.pm b/FHEM/96_allowed.pm index 3aa18ac4f..206235e5c 100644 --- a/FHEM/96_allowed.pm +++ b/FHEM/96_allowed.pm @@ -482,13 +482,15 @@ EOF
  • allowedIfAuthenticatedByMe
    - if set (to 1), then the allowed parameters will only be checked, if the - authentication was executed by this allowed instance. + By default (value is 1), the rules only apply, if the connection was + authenticated (via username/password) by this allowed instance. Set the + value to 0 to apply the rules anyway, e.g. if this instance has no + username or password set.

  • basicAuth, basicAuthMsg
    - request a username/password authentication for FHEMWEB access. + Request a username/password authentication for FHEMWEB access. It can be a base64 encoded string of user:password, an SHA256 hash (which should be set via the corresponding set command) or a perl expression if enclosed in {}, where $user and $password are set, and @@ -634,9 +636,11 @@ EOF
  • allowedIfAuthenticatedByMe
    - falls gesetzt (auf 1), dann werden die allowed Attribute nur dann - angewendet, falls auch die Authentifikation durch diese allowed Instanz - durchgeführt wurde. + Per Voreinstellung (Wert ist 1) werden die Regel nur dann angewendet, + falls die Authentifikation (per Benutzername / Passwort) durch diese + allowed Instanz erfolgte. Falls der Wert 0 ist, werden die Regel in + jedem Fall angewendet. Das ist z.Bsp. dann notwendig, falls kein + Benutzername/Passwort gesetzt ist.