Deployer Settings: manage all admin access surfaces #277
Labels
No labels
meeting-notes
meeting-transcript
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/home#277
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?
Context
The deployer admin Settings page currently has an Admin SSH keys panel. That panel only manages
core/ADMIN_SSH_PUBKEYS, which is the set of public keys injected into newly provisioned tester VMs.During live admin updates on admin VM
0069, we confirmed there are actually three separate admin-access surfaces that operators need to understand and manage:Today only surface 3 is exposed in Settings, and its label is ambiguous.
Proposed UI
Add one clear Admin access area to the deployer Settings page with three subsections:
Implementation notes
deployer.set_admin_ssh_keys./root/.sshowned byroot:root, mode700;authorized_keysmode600./home/driver/.sshowned bydriver:driver, mode700;authorized_keysmode600.ADMIN_FORGE_USERSto the contexts currently used in production:deployerandcore.hero_proxy_serverandhero_tfgrid_deployer_serverso changes take effect immediately.Acceptance criteria
deployer/ADMIN_FORGE_USERSandcore/ADMIN_FORGE_USERS, or the codebase is refactored so only one canonical live-read slot is needed.authorized_keysfiles, with backup and lockout protection.Layout update
The Settings page should not keep growing as one long vertical form. Keep the existing top navbar for app-level navigation, and add a Settings-local left sidebar for settings sections.
Suggested structure:
The first Settings section should be Overview. It should be mostly read-only and show compact current state so operators land on a safe summary rather than an editing form:
The Admin access section should keep the three related controls on one focused page, but the page-level sidebar prevents Settings from becoming cramped as more sections are added.
Implementation pass is ready in worktree/branch
home-277-admin-accessat/home/pctwo/Documents/temp/hero_work/lhumina_code/hero_os_tfgrid_deployer_admin_access.Covered:
deployer/ADMIN_FORGE_USERSandcore/ADMIN_FORGE_USERS, then restarthero_proxy_server./root/.ssh/authorized_keysand/home/driver/.ssh/authorized_keysusing non-interactive sudo.socket_typeto canonical sockettype, fixing the lab--infobuild failure.Verification passed:
cargo fmt --all --checkcargo test -p hero_tfgrid_deployer_sdk -p hero_tfgrid_deployer_server -p hero_tfgrid_deployer_admincargo clippy -p hero_tfgrid_deployer_sdk -p hero_tfgrid_deployer_server -p hero_tfgrid_deployer_admin --all-targets -- -D warningslab build --workspace --no-upxMerged to
lhumina_code/hero_os_tfgrid_deployerremotemain.Remote main now points at
bb1c149:89e3019feat(admin): manage deployer admin access settingsorigin/main(a8dc79b)Verification before merge/push included:
cargo fmt --all --checkcargo test -p hero_tfgrid_deployer_sdk -p hero_tfgrid_deployer_server -p hero_tfgrid_deployer_admincargo clippy -p hero_tfgrid_deployer_sdk -p hero_tfgrid_deployer_server -p hero_tfgrid_deployer_admin --all-targets -- -D warningslab build --workspace --no-upxlab build --checkFollow-up merged to
lhumina_code/hero_os_tfgrid_deployerremotemain:87c7fc1 feat(deployer): apply access settings to existing testers.This adds a real live propagation action, not just UI:
deployer.apply_tester_accessApply to existing tester VMs/root/.ssh/authorized_keyswith installer + admin + opt-in tester keys, writes the effective tester cockpit allowlist todeployer/ADMIN_FORGE_USERSandcore/ADMIN_FORGE_USERS, and restartshero_proxy_serveron that tester.deployer/INSTALLER_SSH_PRIVKEY/deployer/INSTALLER_SSH_PUBKEYfirst, with env fallback for older deployments.Verification passed:
cargo fmt --all --checkcargo test -p hero_tfgrid_deployer_sdk -p hero_tfgrid_deployer_server -p hero_tfgrid_deployer_admincargo clippy -p hero_tfgrid_deployer_sdk -p hero_tfgrid_deployer_server -p hero_tfgrid_deployer_admin --all-targets -- -D warningslab build --checklab build --workspace --no-upx