9 lines
259 B
Markdown
9 lines
259 B
Markdown
修复错误的默认 ACL 规则,之前是:
|
||
```
|
||
{allow, {username, "^dashboard?"}, subscribe, ["$SYS/#"]}.
|
||
```
|
||
但执行正则表达式的匹配应该使用 `{re, "^dashboard$"}`:
|
||
```
|
||
{allow, {username, {re, "^dashboard$"}}, subscribe, ["$SYS/#"]}.
|
||
```
|