7 lines
382 B
Plaintext
7 lines
382 B
Plaintext
{allow, {user, "star-cloud-gateway"}, subscribe, ["$SYS/brokers/+/clients/+/connected", "$SYS/brokers/+/clients/+/disconnected"]}.
|
|
{allow, {username, "dashboard"}, subscribe, ["$SYS/#"]}.
|
|
{allow, {ipaddr, "127.0.0.1"}, all, ["$SYS/#", "#"]}.
|
|
{allow, {username, "star-cloud-gateway"}, subscribe, ["$SYS/#"]}.
|
|
{deny, all, subscribe, ["$SYS/#", {eq, "#"}, {eq, "+/#"}]}.
|
|
{allow, all}.
|