##
##  mosquitto-acl.txt -- Access Control List
##

#   this affects access control for clients with no username.
topic   read      $SYS/#

#   this only affects clients with username "example".
user    example
topic   readwrite example/#

#   this affects all clients.
pattern readwrite %u/#
pattern write     $SYS/broker/connection/%c/state

