theshire/kubernetes/apps/database/emqx/cluster/resources/acl.conf

9 lines
456 B
Text
Raw Normal View History

2024-09-23 02:10:32 -05:00
%% ACLs for emqx %%
2024-09-23 02:32:09 -05:00
%% publish, subscribe, or all for both %%
%% https://docs.emqx.com/en/emqx/latest/access-control/authz/file.html %%
2024-09-23 02:10:32 -05:00
{allow, {user, "jahanson"}, all, ["#"]}.
2024-09-23 03:01:16 -05:00
{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_]+"]}.
2024-09-23 02:10:32 -05:00
{deny, all}.