From 4af606598484ba8cdc2d443a00a76a9e62016887 Mon Sep 17 00:00:00 2001 From: Feng Lee Date: Sat, 25 Aug 2018 16:02:44 +0800 Subject: [PATCH] For paho interoperability tests --- etc/acl.conf.paho | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 etc/acl.conf.paho diff --git a/etc/acl.conf.paho b/etc/acl.conf.paho new file mode 100644 index 000000000..5beec4347 --- /dev/null +++ b/etc/acl.conf.paho @@ -0,0 +1,14 @@ +%%-------------------------------------------------------------------- +%% For paho interoperability test cases +%%-------------------------------------------------------------------- + +{deny, {client, "myclientid"}, subscribe, ["test/nosubscribe"]}. + +{allow, {user, "dashboard"}, subscribe, ["$SYS/#"]}. + +{allow, {ipaddr, "127.0.0.1"}, pubsub, ["$SYS/#", "#"]}. + +{deny, all, subscribe, ["$SYS/#", {eq, "#"}]}. + +{allow, all}. +