No description
Find a file
jtricerolph 9fce62525d settings: MQTT clients support multiple topic scopes on one connection
A single client sometimes legitimately needs several unrelated topic trees
(e.g. hvac-backend needs both shellies/# for TRVs and hvac/mhi/# for MHI
aircon) — the previous model only supported one topic_scope per client,
forcing either an overbroad '#' grant or multiple broker logins for one app.

topic_scope is now newline/comma-parsed into a list; each pattern gets its
own ACL grant on the client's role (createDynsecClient loops per topic).
Stored newline-joined (still a single TEXT column, no migration). Added
PATCH /mqtt-clients/:id (additive: add_topic_scope) to grant a client more
topics later without revoking/recreating it — backed by a new
addTopicsToRole() in mqtt-dynsec.js.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-13 14:01:07 +00:00
src settings: MQTT clients support multiple topic scopes on one connection 2026-08-13 14:01:07 +00:00
.env.example Initial settings service 2026-07-01 18:56:19 +00:00
.gitignore Add MQTT Broker integration (config UI + connection test) 2026-07-28 14:58:53 +00:00
docker-compose.yml Add self-service MQTT Broker Clients management 2026-07-28 17:11:35 +00:00
Dockerfile Add self-service MQTT Broker Clients management 2026-07-28 17:11:35 +00:00
package-lock.json Add MQTT Broker integration (config UI + connection test) 2026-07-28 14:58:53 +00:00
package.json Add MQTT Broker integration (config UI + connection test) 2026-07-28 14:58:53 +00:00