Modularisierung der Authorisierung/Authentifizierung

Begonnen von rudolfkoenig, 29 Dezember 2015, 20:39:07

Vorheriges Thema - Nächstes Thema

immi

Hi Rudolf
in fhem.pl is there a reason for the following  difference?
line 955
return "Forbidden command $cmd." if($cl && !Authorized($cl, "cmd", "perl"));

line 1015
return "Forbidden command $cmd." if($cl || !Authorized($cl,"cmd","shell"));

ciao
immi

rudolfkoenig

@immi: thanks for the note, I fixed it. It seems that people doing frequent FHEM-updates do not use shell commands.

Sonst: ich habe allowed wie angekuendigt umgebaut: ohne validFor ist allowed nicht gueltig.
Da es an diversen Ecken zu Problemen kommt, steht die Aenderung ab sofort fuer update zur Verfuegung.

immi