allow dashboard to subscribe

This commit is contained in:
Feng Lee 2015-08-14 10:53:01 +08:00
parent 0232690907
commit 72751e5428
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@
%%
%%%-----------------------------------------------------------------------------
{allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}.
{allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}.
{deny, all, subscribe, ["$SYS/#", {eq, "#"}]}.