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

# This only affects clients with username sdp1
user SDP1
topic write /fcasdp/HU1/+
topic read /fcasdp/+/HU1
topic write /fcasdp/HU2/+
topic read /fcasdp/+/HU2
topic write /fcasdp/TBM1/+
topic read /fcasdp/+/TBM1
topic write /fcasdp/TBM2/+
topic read /fcasdp/+/TBM2

# This only affects clients with username hu1
user HU1
pattern read /fcasdp/%c/+
pattern /fcasdp/IVM/%c

# This only affects clients with username hu2
user HU2
pattern read /fcasdp/%c/+
pattern write /fcasdp/+/%c

# This only affects clients with username tbm1
user TBM1
pattern read /fcasdp/%c/+
pattern write /fcasdp/+/%c

# This only affects clients with username tbm2
user TBM2
pattern read /fcasdp/%c/+
pattern write /fcasdp/+/%c

# This affects all clients.
pattern write $SYS/broker/connection/%c/state


# This only affects clients with username sdp1a
user SDP1A
topic write /fcasdp/HU1/+
topic read /fcasdp/+/HU1
topic write /fcasdp/HU2/+
topic read /fcasdp/+/HU2
topic write /fcasdp/TBM1/+
topic read /fcasdp/+/TBM1
topic write /fcasdp/TBM2/+
topic read /fcasdp/+/TBM2

# This only affects clients with username tbm1
user TBM1A
pattern read /fcasdp/%c/+
pattern write /fcasdp/+/%c

# This only affects clients with username tbm1
user HU1A
pattern read /fcasdp/%c/+
pattern write /fcasdp/+/%c
