fix(mqtt): persistent subscription permissions in acl.conf

This commit is contained in:
sky121113 2026-04-21 15:00:10 +08:00
parent d26ef6e793
commit bdc1c44c0f

View File

@ -1,3 +1,4 @@
{allow, {user, "star-cloud-gateway"}, subscribe, ["$SYS/brokers/+/clients/+/connected", "$SYS/brokers/+/clients/+/disconnected"]}.
{allow, {username, "dashboard"}, subscribe, ["$SYS/#"]}.
{allow, {ipaddr, "127.0.0.1"}, all, ["$SYS/#", "#"]}.
{allow, {username, "star-cloud-gateway"}, subscribe, ["$SYS/#"]}.