Authorization
- one gate for every human endpoint: authenticate, resolve the resource, then
admin_only / scoped / visible; require_admin* removed so each handler must choose
- grants (user or IdP group; global or one orbit; optional end date) read live on
every request; only orbit.read, snapshot.read, capture.run and snapshot.download
can be granted, everything else stays with configured administrators
- an orbit without orbit.read is 404, a visible one without the permission is 403,
a caller with nothing to see gets 403 on lists; job history is filtered before LIMIT
- jobs and audit record the stable principal id, not the IdP display name
- restore targets and restore history are admin-only until self-service (M6)
- sessions keep the groups verified at sign-in
Administration
- /api/v1/access grants and users (enable, disable, sign out everywhere), validated
and audited by id; admins cannot disable themselves or the emergency operator
- Access console with the shared Select and a themed DatePicker; non-administrators
only see Vault and Activity and never call administrator endpoints
- the Window/Radar view is stored per account (/api/v1/me/preferences)
- UI tolerates older hubs and mocks (missing admin/grants) and a console that fails
to render no longer blanks the app
Tests: a matrix generated from the endpoint contract exercises every human route
against real resources in two orbits for each kind of caller.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The map is a canopy with a bezel, an inset window and a sill carrying a
Window | Radar view switch. Consoles open as centered screens; Orbits,
Outposts, Activity and the snapshot sheet follow one vocabulary of recessed
fields, bevelled keys and lamps that stay distinct by shape.
- Activity replaces the Restore tab with one log of backups and restores.
Rows lead to a snapshot or an orbit; restores and exports start from the
snapshot. The model is a pure function with tests.
- Restore opens from a snapshot as a two column screen: choose and confirm on
the left, job progress or countdown on the right.
- Add Segmented and a themed Select (portal list, keyboard and form support).
- Add a spotlight-style search panel.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PostgreSQL and MySQL backups run through paired outposts, with operator sign-in, off-site copies, and legacy import. Retention stays on each orbit, so the unused retention console is removed.
Co-authored-by: Cursor <cursoragent@cursor.com>