fix(acl): fix wrong default ACL rules

This commit is contained in:
JianBo He 2023-03-20 13:53:57 +08:00
parent 43e95c6a85
commit 377127ce72
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
%% -type(rule() :: {permission(), who(), access(), topics()} | {permission(), all}).
%%--------------------------------------------------------------------
{allow, {username, "^dashboard?"}, subscribe, ["$SYS/#"]}.
{allow, {username, {re, "^dashboard?"}}, subscribe, ["$SYS/#"]}.
{allow, {ipaddr, "127.0.0.1"}, all, ["$SYS/#", "#"]}.