Auto-provision KamoCRM seat on sub-org creation; promote-billing-owner endpoint

FeatureSecurityService
Ya
28 Aprili 2026, 01:56 UTC
Mwandishi
Kamo
Ahadi ya
118f459

EntitlementService walks SubscriptionMember (not AccountMember) to compute member entitlements — the union of features across active licensee subs, plus the Free baseline. The Redis listener gains a SUBSCRIPTION:<uid> handler. New BillingSetupService runs in two flows: - createOrganization (sub-org under KamoCRM): auto-creates a KamoCRM-org Member for the creator if absent, finds-or-creates a KamoCRM Account with that Member as primary, opens a Free-tier AccountSubscription targeting the new sub-org, and seats the creator as licensee + sub-manager. - POST **************** carves out a fresh KamoCRM Account/sub for a member of an existing sub-org, optionally transferring named licensees. Org-owner-only. AccountController routes drop isLicensee / canManageSubscription from the account-level customer payloads — those flags now live on SubscriptionMember.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei