One editor for every kind of person on the roster. Someone with no account can have their name, email, crew and role edited because those live on their crew or rep row. Someone with a login gets those fields read-only (their own profile owns them) plus the full permission grid. The panel also embeds their dossier — tier, hours, jobs and earnings for field crew, the leaderboard line for a rep.
Also called: change someone's role · move someone to another crew · fix a name · edit employee
- 1Edit opens on any row except the org owner's.
- 2Non-login edits POST to /api/team/member, which finds the right store and writes there.
- 3Login-holder edits POST to /api/users/[id]/role so the change applies on THEIR device too, not just the editing admin's browser.
- 4Role choices narrow to what the person's store can hold: a crew row is a worker or a leader; a rep row is the sales role.
- 5Phone is deliberately absent — the roster withholds it, and the crew card in Team already owns that field.
Again, quoted in the code: gating the whole editor on having a login “put Invite beside eighteen of nineteen employees, which reads as the screen being broken.” A separate comment records the earlier bug: role and custom-permission edits only lived in the editing admin's localStorage, so the target user's session saw nothing change. And on the dossier: “pretty much all of these variables, I think, should be inside of the team member specifically.”
- Role changes were saved only in the editing admin's browser.
- People without logins could not be edited at all.
- A person's pay tier, hours and job record lived on a different screen than their role.
See it on your own jobs
Twenty minutes, your numbers, no slide deck. We’ll build one of your real buildings in front of you and send you the estimate link at the end — yours to keep either way.
or keep browsing features →