Suriya ef647d3395 Give the POS its own broker accounts
Two scoped users, pos_terminal and pos_ingest, with an ACL that keeps a
till to its own topics: it can publish its bills, registrations and
heartbeats, read its own acks, and nothing else. It cannot reach
nearle/riders/# or doormile/#, and cannot forge an ack — only the ingest
writes those.

admin is deliberately left unrestricted. Its credentials are compiled
into the rider app, so narrowing it would cut off the live fleet without
warning; that change needs someone to confirm nothing else uses it
first. Because admin's entry grants everything, applying the ACL changed
nothing for existing traffic — verified by watching riders 852 and 1114
keep publishing battery, speed and periodic logs throughout.

The scoping was verified by publishing as pos_terminal to four topics
and observing which arrived: the order did, the rider topic, the
doormile topic and its own ack topic did not.

Config and password file were backed up first; the rollback is one cp
and a container restart.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-03 18:01:05 +05:30
2026-05-25 11:52:26 +05:30
2026-08-03 17:56:09 +05:30
2026-05-25 11:52:26 +05:30
2026-08-03 17:56:09 +05:30
2026-07-04 17:49:54 +05:30
2026-07-09 18:03:44 +05:30
Description
No description provided
17 MiB
Languages
Go 99.2%
JavaScript 0.7%