system-pdf-status-gate
carlos system pdf status (GET /api/cli/system/pdf) is read-only but shared the scanning-change gate (apiSystemOperator, CARLOSSTOREOPERATORS only), so a deployment system operator got 403 "changing deployment-wide scanning needs a deployment operator". Seen on a self-hosted staging console on v0.36.2.
Change: the two read-only status doors (pdf status, antivirus status) use a new gate, apiSystemStatusReader, that admits CARLOSSYSTEMOPERATORS or CARLOSSTOREOPERATORS and refuses a member with a door-specific sentence. Non-persons still get a stranger's 404. Antivirus enable/disable and rotate-webhook-key keep the store-operator gate and message unchanged. docs/site/cli.md says who may run each.
Tests: TestSystemStatusDoorsAdmitEitherOperator (red before, green after), TestSystemScanningWritesStayStoreOperatorOnly (guard on the write doors). Census clean. One Astra review.
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed db550f399 console: keep routeDecls byte-identical for the record-write census
- paul@keymail.dev pushed b7c8c3607 console: system pdf and antivirus status admit system operators