KamoCRM

Drop users/masterAccountHolder, use Account.members + primaryMember

RefactorSecurityService
Shipped
27 ஏப்ரல், 2026 அன்று 10:58 PM UTC
Author
Kamo
Commit
137ea5a

AccountController now reflects the Account-as-group model: - computeDisplayName / extractEmail / extractPhone resolve through the primaryMember (Member) instead of the dropped masterAccountHolder - getCustomerDetail returns the Account's members list with permission flags (isLicensee, isAccountManager, canManageSubscription, canManageBilling) plus the primaryMemberId - POST /customers accepts primaryMemberId (replaces masterAccountHolderId); on save, an AccountMember row with full management flags is created for the primary member - PUT /customers/{uid}/members rewritten to add/remove AccountMember rows by member id and set the primary member EntitlementService updated to consume the new AccountMember entity (was AccountBillingMember in commerce.billing.account).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing