D5 — admin UI (list users, deploy/delete actions, per-user state view) #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
D5 — admin UI (list users, deploy/delete actions, per-user state view)
Sub-issue of
#?(v0.1 scope). The Rust + Askama dashboard the team operator uses to drive the deployer.What this does
The end-state for v0.1: a team operator opens the deployer's admin UI in a browser, sees a table of demo users + VMs, clicks "Create user" or "Decommission VM", and the deployer drives it.
Pages
/users— user listdeployer.create_user→ result modal shows initial password + "share OOB" reminder + "Create VM for this user" button/users/<id>— user detail/vms— VM list/vms/<id>— VM detaildeployer.get_vmwhich fetches from the underlying VmBackend)/settings— deployer configAPI additions to
deployer_serverdeployer.create_vm(user_id, profile, node_id?) -> VmInfodeployer.delete_vm(vm_id, confirm: bool) -> ()deployer.restart_bootstrap(vm_id) -> JobId— for fixing a failed bootstrap without redeployingdeployer.get_vm(vm_id) -> VmInfo— joins sqlite state + live state from the VmBackenddeployer.list_events(vm_id?, user_id?, limit) -> [Event]deployer.events.subscribe— admin UI subscribes for live updatesAuth model for admin UI
allowed_pubkeysset to the team admin group (TBD with Forge admin)Acceptance criteria
References
hero_cockpit#1#?(v0.1 scope)/hero_ui_dashboard_admin·/hero_ui_theme·/hero_ui_whitelists