Simplify tester onboarding: reuse existing Forge users, drop tester SSH keys, clearer access errors #247
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#247
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?
Goal: make onboarding a tester as simple as possible for non-technical people. An admin adds a tester (new or existing Forge account), provisions a VM, and once it is ready the tester opens a link and signs in with their own Forge account. No SSH keys, no extra setup on their side. This replaces the earlier plan in this issue, which still asked the tester to upload an SSH key before provisioning.
Target flow:
Work items:
Security note: reusing an existing Forge account is safe for sign-in. The login uses the read:user scope only, so the token the proxy stores on the user's behalf can read their profile but cannot read private repositories or act on their account. Keep the scope at read:user. Dropping tester SSH keys also makes the preloaded provider keys unreadable to testers in every case, because there is no tester-controlled shell on the VM.
Acceptance: register an existing Forge user who has no SSH key, provision and install, confirm they open the link, sign in with their own Forge credentials, reach the demo apps, and that the assistant works with the preloaded keys. Confirm a non-allowed Forge user gets the friendly page rather than the raw error.
Deferring this for now; it is not part of the current short plan. We are prioritizing onboarding through brand-new accounts rather than inviting people on their existing forge.ourworld.tf accounts. A fresh account is safer because it only carries the access we grant it for the sandbox, whereas reusing an existing account would inherit whatever repository and organization access that person already has. We can revisit inviting existing users later if there is demand.
Signed-by: mik-tf mik-tf@noreply.invalid
Onboard existing forge.ourworld.tf users as testers (invite, do not create)to Simplify tester onboarding: reuse existing Forge users, drop tester SSH keys, clearer access errorsDone and proven live. The simpler onboarding is shipped: a tester no longer needs an SSH key, an existing Forge account can be registered and reused, and there is a friendly access-denied page. We onboarded a first real existing user end to end on the live admin machine (register, provision, install, sign in with their own account) with no manual fixing. A follow-on to make this even simpler, doing add plus provision plus install in a single click while keeping the per-step buttons, is tracked at #255 . The welcome email (#236) is the next step.
Signed-by: mik-tf mik-tf@noreply.invalid