From ebf66d900ab76a26fa1df2fa2b27cd4637b7a0e9 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 23 Sep 2024 03:01:16 -0500 Subject: [PATCH] testing --- kubernetes/apps/database/emqx/cluster/resources/acl.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/database/emqx/cluster/resources/acl.conf b/kubernetes/apps/database/emqx/cluster/resources/acl.conf index 17d280ac..25d9ac55 100644 --- a/kubernetes/apps/database/emqx/cluster/resources/acl.conf +++ b/kubernetes/apps/database/emqx/cluster/resources/acl.conf @@ -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_[A-F0-9]+/#", "cmnd/tasmota_[A-F0-9]+/#"]}. -{allow, {user, "homeassistant"}, subscribe, ["stat/tasmota_[A-F0-9]+/#", "tele/tasmota_[A-F0-9]+/#"]}. +{allow, {user, "tasmota"}, all, ["tasmota/discovery/#", "tele/tasmota_[A-F0-9]+/[A-Za-z0-9_]+", "cmnd/tasmota_[A-F0-9]+/[A-Za-z0-9_]+"]}. +{allow, {user, "homeassistant"}, subscribe, ["stat/tasmota_[A-F0-9]+/[A-Za-z0-9_]+", "tele/tasmota_[A-F0-9]+/[A-Za-z0-9_]+"]}. {deny, all}.