RECORDGOD/site
type-two 5e2a9e7ab1 feat(auth): staff accounts + roles — operators run the store, admins keep the keys
Token resolver now checks the env owner-token (admin) then a staff table (name/token/
role). New require_admin gates /settings/* (API keys/connections) + staff CRUD; everything
operational (search/scan/inventory/labels/intake) stays on require_token so staff can do it.
admin.html: /admin/me drives ROLE; data-admin nav (Staff + Connections) hidden for staff +
go() blocks the views; new Staff tab to add operators, set role, reset/show token once,
deactivate. Tokens shown once on create.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 15:33:19 +10:00
..
admin.html feat(auth): staff accounts + roles — operators run the store, admins keep the keys 2026-06-23 15:33:19 +10:00
builder.html feat(builder): P1 page editor — live preview now renders a REAL release from the catalog (real covers/tracklist) so block-arranging is WYSIWYG; + View-live link 2026-06-23 01:00:28 +10:00
dash.html feat(nav): light/dark switch every page + store→rack→crate navigator 2026-06-22 19:33:24 +10:00
index.html feat(nav): light/dark switch every page + store→rack→crate navigator 2026-06-22 19:33:24 +10:00
nav.js feat(nav): light/dark switch every page + store→rack→crate navigator 2026-06-22 19:33:24 +10:00
pos.html feat(nav): light/dark switch every page + store→rack→crate navigator 2026-06-22 19:33:24 +10:00
records.html feat(shop): entity browse pages — artist/label/genre/style storefront views 2026-06-23 01:18:15 +10:00
release.html feat(shop): P4 wantlist — public 'request a record' page + admin queue 2026-06-23 01:29:00 +10:00
search.html feat(nav): colour crates by type in the rack diagram (material_color) 2026-06-23 11:26:34 +10:00
shop.html feat: clean stub URLs (/builder /shop /admin /dash) + store geometry + storefront 2026-06-21 23:16:57 +10:00
wantlist.html feat(shop): P4 wantlist — public 'request a record' page + admin queue 2026-06-23 01:29:00 +10:00