# /mosquitto/config/acl

# Pattern-based rules for system topics
pattern read $SYS/%u/#
pattern readwrite fems/%u/#

# User specific rules
user fems
topic readwrite fems/#
topic read $SYS/#

# Node-RED specific rules
user node_red
topic readwrite fems/#
topic read $SYS/#