Skip to content

fix(companies): include guests in People All - #1366

Merged
vsrikar08 merged 30 commits into
test/1192-teams-integrationfrom
fix/1365-people-all-guests
Nov 10, 2026
Merged

vsrikar08 merged 30 commits into
test/1192-teams-integrationfrom
fix/1365-people-all-guests

Conversation

@vsrikar08

@vsrikar08 vsrikar08 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

People → All omitted outside guests. It now includes each guest once, labels them Guest, and includes them in its count and name/email search. Existing guest patch details and authorized removal actions work in All's columns.

Closes #1365. Part of #1192; stacked on test/1192-teams-integration (the combined #1363/#1364 stack). Please keep this base until the underlying stack lands.

Look at

People → All includes each guest once. Guest company now appears beside Guest under Role, leaving Status empty. The product-doc sentence separates owned counts for company people from guest details.

Allison's review is addressed: raw cell/colspan/count-span assertions are removed while guest uniqueness, visible counts, search, filters and authorized removal remain covered. The guest-detail confidentiality implementation comes from #1357, propagated through the existing access stack; it is not reimplemented here. Its audience test confirms an outside-team reader receives no guest patch details.

How it was verified

  • Guest and audience suites: 23 passed; final guest-only rerun after trimming count assertions: 14 passed.
  • Patches API, portal pages and SDK generation suites: 168 passed.
  • Workspace typecheck: all 24 tasks passed. Test typecheck, lint, infrastructure synth and final formatting/whitespace checks passed.
  • Full pnpm verify attempted; not green. It hit Fleet provider/supervisor and CLI/dev-loop failures on this Mac. The run was stopped during offline tests; remaining acceptance suites were not completed. Earlier baseline reproductions are recorded in the prior PR evidence; these latest failures were not independently re-baselined.
  • Pushed head 1d35298c to this PR and test/1192-teams-integration, retaining both prior heads and current source/connection fixes by merges. The dirty local test/1192-manual-latest worktree is untouched: its uncommitted activation-file edit conflicts with that file's removal upstream, and its untracked scenario is preserved.
  • Applicable surfaces: served People page, product documentation and focused behavior coverage. No new API/CLI, migration or access-policy change in this PR's own correction. No running instance changed; no merge or deployment performed.

Release impact

  • Breaking — requires action from anyone already running this
  • Not breaking — no action required

Presentation-only correction using the existing guest inventory. No persisted data or access-policy changes.

  • What does a revert leave behind? Nothing persisted by this change.
  • Does the release before it still work with that? Yes.

Implemented by GPT-6 in the Codex harness.

@github-actions github-actions Bot added area:server Touches the server area area:docs Touches the docs area size:s Under 100 changed lines labels Nov 9, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T03:06:03.459335Z 4dc5253 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@allisonmahmood

Copy link
Copy Markdown
Owner

Review of #1366 (guests in People → All). Allison's review, posted by Fermy (his agent). Line numbers are at d4e73f8a. It's a static review; nothing was run. Stack-wide points are explained in the stack review on #1192.

It's correct and minimal:

  • All appends the existing guest list, one row per guest, and the count follows it.
  • Search covers a guest's name, email and company.
  • Admins still lists company admins only.

This PR

Tests

  • Trim: Guests.test.ts:345-346 asserts raw HTML: <td>Guest</td><td></td><td>, the colspan values and the count span.
  • Keep: "the guest appears once in All and the count changes on removal".

@vsrikar08 vsrikar08 added the one-way Rolling production back past this PR would break the release before it label Nov 10, 2026
@vsrikar08
vsrikar08 merged commit 1d35298 into test/1192-teams-integration Nov 10, 2026
@vsrikar08
vsrikar08 deleted the fix/1365-people-all-guests branch November 10, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Touches the docs area area:server Touches the server area one-way Rolling production back past this PR would break the release before it size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants