letters and numbers in id
This commit is contained in:
parent
828a596da3
commit
60d80ffa79
1 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,6 @@
|
||||||
%% https://docs.emqx.com/en/emqx/latest/access-control/authz/file.html %%
|
%% https://docs.emqx.com/en/emqx/latest/access-control/authz/file.html %%
|
||||||
|
|
||||||
{allow, {user, "jahanson"}, all, ["#"]}.
|
{allow, {user, "jahanson"}, all, ["#"]}.
|
||||||
{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_[^/]+/#", "cmnd/tasmota_[^/]+/#"]}.
|
{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_[A-Za-z0-9]+/#", "cmnd/tasmota_[A-Za-z0-9]+/#"]}.
|
||||||
{allow, {user, "homeassistant"}, subscribe, ["stat/tasmota_+/+", "tele/tasmota_+/+"]}.
|
{allow, {user, "homeassistant"}, subscribe, ["stat/tasmota_[A-Za-z0-9]+/#", "tele/tasmota_[A-Za-z0-9]+/#"]}.
|
||||||
{deny, all}.
|
{deny, all}.
|
||||||
|
|
Loading…
Reference in a new issue