Repository navigation
feat: remove team member seat limit for cloud plans - #373
Merged
Merged
Conversation
gkhngyk
approved these changes
Jul 8, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Clean, complete implementation of #372 — Starter and Growth are both set to -1 in both the web and server plan configs (kept in sync), and nothing else is touched. Verified: isWithinLimit returns true for -1, so enforceLimit on maxTeamMembers becomes a no-op and invites go through unlimited; canInvite, the seat label, and the "Seat limit reached" banner all already key off -1. The onboarding card now shows "Unlimited team members". Prettier's happy. LGTM! 🎉
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the hard seat cap on team members for Starter and Growth cloud plans by setting
maxTeamMembers: -1, the existing unlimited sentinel, in both the web and server plan configs.Previously, Starter was capped at 1 seat and Growth at 3, which blocked invites once the limit was hit and showed an upsell banner. With
-1, the downstream limit checks, seat label, and invite button all behave correctly without any additional changes.Also updated the onboarding plan cards to show “Unlimited team members” for
-1instead of hiding the perk entirely.Related issue
Closes #372
Type of change
Checklist
feature/,fix/,chore/,docs/) — see [CONTRIBUTING.md](https://github.com/ansvisor/ansvisor/blob/main/CONTRIBUTING.md)yarn lintpasses, run fromweb/yarn typecheckpasses, run fromweb/yarn format:checkpasses, run fromweb/