Settings › Team — staff manage the picked company's team

one picked: its team, a saved role change, and B's buildings right after a switch; zero or several picked: the notice, no invite

27 Sept 2026 · branch sr-staff-acts-on-picked-company/team · captured against propflow-stage · at 752845cb86+local

Data note. Every name and balance below comes from propflow-stage, which is anonymized by construction (ADR-0097/0110 — phones in the impossible +1000 NPA, emails @example.test). The identical capture against prod would carry real tenants' names and balances and is not safe to attach anywhere, which is why the generator refuses to run against one.

1 · One company picked — its team

What this shows

Staff, Fairhaven (TEST) picked: that company's teammates, with invite and row controls.

Asserted in the captured DOM — Invite teammate · two-orgs-evidence+h2maint@propflowai-test.local. The picked company's team.

One company picked — its team

2 · A save — re-role a teammate of the picked company

What this shows

PATCH /api/admin/users/<id>?organizationId=<the company the list answered for>.

Asserted in the captured DOM — Role updated. Saved.

A save — re-role a teammate of the picked company

3 · The change reads back, and is restored

What this shows

Reloaded, the row reads Viewer; set back to Maintenance Technician.

Asserted in the captured DOM — Role updated. Restored.

The change reads back, and is restored

4 · Right after an in-page switch — the NEW company's team and invite

What this shows

Start on Fairhaven Residential (TEST), switch to Dev Persona Started Co (TEST) in the top-left picker (no reload): the list is that company's team, and the invite opens for it. Both are stage TEST companies. Their buildings are all marked as test buildings, which the invite picker leaves out by design, so this capture cannot show a building list; the A → B building list is pinned by team-staff-picked-company.test.tsx.

Asserted in the captured DOM — dev-persona.leasing-agent@example.test · These properties. The switched-to TEST company's team, invite open.

Right after an in-page switch — the NEW company's team and invite

5 · Several picked — the notice, and no invite button

What this shows

Two companies picked: the pick-one notice lists them; there is no + Invite teammate.

Asserted in the captured DOM — one organization at a time · Dev Persona Started Co (TEST). The pick-one notice.

Several picked — the notice, and no invite button

6 · None picked — the notice, and no invite button

What this shows

No company picked: the same notice with no set, and no invite.

Asserted in the captured DOM — The team list. The notice.

None picked — the notice, and no invite button

Not captured

An invite

Sending one emails a real inbox. The invite naming the company the list answered for, and the staff user as inviter, are pinned in admin-users-api.test.ts and team-staff-picked-company.test.tsx.

PropFlow Docs