Split account-level admins from per-sub members; subs gain target_org

Refactorkamo-shared-library
Shipped
April 28, 2026 at 1:56 AM UTC
Author
Kamo
Commit
c045883

Adds SubscriptionMember (per-subscription licensee + sub-manager flags) so an Account on the KamoCRM org can hold multiple subscriptions, each targeting a different sub-org. AccountMember now carries account-level admin flags only (isAccountManager, canManageBilling); per-seat consumption moves to SubscriptionMember. AccountSubscription gains a non-null targetOrganization, and the uniqueness key is now (account, market, target_org).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing