Developer finds three conflicting client limits in his SaaS, only one enforced
A developer who wrote a guide on SaaS pricing audited two of his own products against its advice. In his white-label voice AI portal, VoiceDash, the number of clients a Starter workspace can add appears three ways in the codebase: a plan table allows one, a sidebar fallback shows five, and an unused database column defaults to ten. Only the plan table is enforced by the server, so the sidebar can display a limit the server does not honour. The developer says the limits are keyed by plan name, which makes custom deals require new enum values and migrations, and that a count-then-insert check without locking could let two clients slip past the limit. He also notes the enforcement helper's use of -1 to represent unlimited, since Infinity does not serialize to JSON.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in