github.com/lei006/gmqtt-broker@v0.0.1/plugins/auth/authfile/acl.conf (about) 1 ## sub 1 , pub 2, pubsub 3 2 ## %c is clientid , %s is username 3 ##auth type value pub/sub topic 4 allow ip 127.0.0.1 2 $SYS/# 5 allow clientid 0001 3 # 6 deny username admin 3 # 7 allow username joy 3 /test,hello/world 8 allow clientid * 1 toCloud/%c 9 allow username * 1 toCloud/%u 10 allow clientid * 2 toDevice/%c 11 allow username * 2 toDevice/%u 12 deny clientid * 3 #