Files
memind/ops
john 7357157cb2 Add super-admin section to ops SPA (role=admin gated)
New pages under /ops/admin: Summary dashboard, Users (list + edit +
recharge + create), LLM provider keys management, Billing ledger and
usage records.

Shared AuthContext (lib/auth.tsx) fetches /auth/status once and
supplies user/role to RequireOps, RequireAdmin, and OpsLayout.
OpsLayout shows a ⚙ 超管 nav link for admins. RequireOps now grants
admin users access without an extra ops-role probe.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 21:11:25 +08:00
..