more adjustments

This commit is contained in:
Joseph Hanson 2024-09-23 02:45:32 -05:00
parent d887bbf7d1
commit 828a596da3
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -3,6 +3,6 @@
%% https://docs.emqx.com/en/emqx/latest/access-control/authz/file.html %%
{allow, {user, "jahanson"}, all, ["#"]}.
{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_+/+", "cmnd/tasmota_+/+"]}.
{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_[^/]+/#", "cmnd/tasmota_[^/]+/#"]}.
{allow, {user, "homeassistant"}, subscribe, ["stat/tasmota_+/+", "tele/tasmota_+/+"]}.
{deny, all}.