emqx/changes/ce/fix-10172.zh.md
2023-03-21 09:10:20 +08:00

259 B
Raw Blame History

修复错误的默认 ACL 规则,之前是:

{allow, {username, "^dashboard?"}, subscribe, ["$SYS/#"]}.

但执行正则表达式的匹配应该使用 {re, "^dashboard$"}:

{allow, {username, {re, "^dashboard$"}}, subscribe, ["$SYS/#"]}.