Bläddra i källkod

chore: add changes

JianBo He 2 år sedan
förälder
incheckning
5b9867dc13
2 ändrade filer med 17 tillägg och 0 borttagningar
  1. 9 0
      changes/ce/fix-10172.en.md
  2. 8 0
      changes/ce/fix-10172.zh.md

+ 9 - 0
changes/ce/fix-10172.en.md

@@ -0,0 +1,9 @@
+Fix the incorrect default ACL rule, which was:
+```
+{allow, {username, "^dashboard?"}, subscribe, ["$SYS/#"]}.
+```
+
+However, it should use `{re, "^dashboard?"}` to perform a regular expression match:
+```
+{allow, {username, {re,"^dashboard?"}}, subscribe ,["$SYS/#"]}.
+```

+ 8 - 0
changes/ce/fix-10172.zh.md

@@ -0,0 +1,8 @@
+修复错误的默认 ACL 规则,之前是:
+```
+{allow, {username, "^dashboard?"}, subscribe, ["$SYS/#"]}.
+```
+但执行正则表达式的匹配应该使用 `{re, "^dashboard?”}`:
+```
+{allow, {username, {re, "^dashboard?"}}, subscribe, ["$SYS/#"]}.
+```