feat: Add authentication and admin identity to the dashboard UI #60
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_compute#60
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?
Problem
The hero_compute_ui dashboard (port 9001) has zero authentication. Anyone who can reach the port gets full access to:
There is no login, no session management, and no way to distinguish between a node admin, a VM owner, or a random visitor.
What's needed
1. Dashboard authentication
2. Admin identity for nodes
3. Access levels (at minimum)
secretcapability token)Current state
Affected crates
hero_compute_ui— needs auth middleware, login flow, session management, role-based route protectionhero_compute_server— needs admin identity on node registrationhero_compute_explorer— needs to store and verify node admin identity