Files
LangBot/src/langbot
aba838f79b fix(workspace): enforce Cloud member quota on invitations (#2884)
Cloud Workspaces could still invite members after reaching the plan's
members.max limit because Core's invitation API never consulted it.

- Project members.max into the Workspace limitation as max_members,
  mirroring Control Plane semantics (absent or <= 0 means unlimited).
- Reject invitation creation when active members plus pending
  invitations fill the plan, and reject acceptance when active members
  already fill it (e.g. after a downgrade), with member_limit_reached.
- Disable the invite form in Workspace settings when the quota is full
  and show an upgrade-plan CTA that opens the Cloud plans dialog.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: multica-agent <[email protected]>
2026-11-05 18:11:48 +08:00
..