Files
1andClaude Opus 5.5 fce190c03a
ci / server (mysql) (pull_request) Successful in 16s
ci / server (sqlite) (pull_request) Successful in 16s
ci / lint (pull_request) Successful in 26s
ci / nox (pull_request) Successful in 28s
ci / client (pull_request) Successful in 47s
ci / sidecar (pull_request) Successful in 37s
ci / image (pull_request) Successful in 1m19s
ci / sourcemaps (pull_request) Skipped
ci / deploy (pull_request) Skipped
Nox real mode requires rights on each telescope and dome it drives
Finding fmw149sl04. Real mode checked only sign-in and confirmed: true, then resolved any telescope or dome by name, so a signed-in account could drive another site's hardware.

The driver now takes the calling user and checks every op: canControlTelescope for a telescope, canEditSite for a dome. The route refuses with 403 before the first op when a string literal names a resource the caller has no rights on. Names repeat across sites, so a name resolves among the caller's rows, and two matches is an error.

canControl moved from routes/control.js to perms.js as canControlTelescope. It now passes an admin with no booking live, as the control.js header said it did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 18:01:41 -05:00
..