Skip to content

Delete pending-invite table, settings UI, and redemption - #701

Merged
TheGreatAxios merged 4 commits into
mainfrom
cl-7581-delete-pending_invite-table-settings-ui-and-redemption
Sep 10, 2026
Merged

Delete pending-invite table, settings UI, and redemption#701
TheGreatAxios merged 4 commits into
mainfrom
cl-7581-delete-pending_invite-table-settings-ui-and-redemption

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Linear: CL-7581

Summary

Hard-delete Workbench's reserved-email join path. Signup stays closed. New humans join only when an operator creates them through native APIs.

  • Drop access_policy.pending_invite in a new migration (keep historical 0002).
  • Remove Settings mint/list/cancel UI and the InvitePersonDialog export.
  • Remove first-login redemption from onboarding. checkSignupGate remains.
  • Closed self-signup copy is now "Off — no self-signup".

Does not replace the table. Does not implement invite-as-principal-stub. Does not touch hub boot, apps/hub/src/index.ts, or chat workbench agent invites.

pending_invite tokens remain only in historical SQL. pendingInvites remains only on the chat composer.

Test plan

  • bun test in packages/access-policy (39 pass)
  • bun test in packages/settings-ui after copy fix
  • bun test in packages/onboarding (196 pass)
  • bun run check:structural no-product-tenancy
  • bun run check

@linear-code

linear-code Bot commented Sep 10, 2026

Copy link
Copy Markdown

CL-7581

Signup stays closed and people settings still manage seats, but tests
no longer require a reserved-email join table or mint/cancel panel.
Signup stays closed. New humans join only when an operator creates them
through native APIs. Historical migration 0002 is kept; 0003 drops the
table that no longer has a product surface.
Settings no longer mints reserved-email joins, and onboarding no longer
redeems them. Closed mode means an operator creates humans through
native APIs.
Person-facing settings cannot say operator. Closed self-signup is
just off, with no reserved-email join path.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7581-delete-pending_invite-table-settings-ui-and-redemption branch from af2988c to fbe62f9 Compare September 10, 2026 07:55
@TheGreatAxios
TheGreatAxios merged commit d14cab9 into main Sep 10, 2026
24 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-7581-delete-pending_invite-table-settings-ui-and-redemption branch September 10, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant