diff --git a/docker/emqx/acl.conf b/docker/emqx/acl.conf index 37b33ab..128fc31 100644 --- a/docker/emqx/acl.conf +++ b/docker/emqx/acl.conf @@ -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/#"]}.