Feature: ACLs for anonymous users in IoT Broker #9

Merged
TurtleException merged 7 commits from feature/iot-broker-anon-authorization into main 2026-04-02 17:44:10 +00:00

Would be nice to set "defaults" for ACLs in IoT Broker. Mosquitto supports ACLs that apply to anonymous users by defining them before a user directive in the ACL file. This should be configurable via the auth configuration, just like user-specific authorization.

Tasks

  • Make anonymous authentication configurable
  • Allow setting default ACLs via auth.yaml
  • Parse default ACLs on container startup and write aclfile for mosquitto
Would be nice to set "defaults" for ACLs in IoT Broker. Mosquitto supports ACLs that apply to anonymous users by defining them before a `user` directive in the ACL file. This should be configurable via the auth configuration, just like user-specific authorization. ## Tasks - [x] Make anonymous authentication configurable - [x] Allow setting default ACLs via `auth.yaml` - [x] Parse default ACLs on container startup and write aclfile for mosquitto
Simplify
All checks were successful
Build IoT Broker / docker (pull_request) Successful in 11s
18b3c8ad77
Add clarifying comments to generated ACL file
All checks were successful
Build IoT Broker / docker (pull_request) Successful in 10s
9a86d47760
TurtleException force-pushed feature/iot-broker-anon-authorization from 9a86d47760
All checks were successful
Build IoT Broker / docker (pull_request) Successful in 10s
to a44d07ddfa
All checks were successful
Build IoT Broker / docker (pull_request) Successful in 10s
2026-04-02 17:39:21 +00:00
Compare
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TurtleHost/mono!9
No description provided.