KamoCRM

Check TeamMember.isOrganizationOwner flag for owner detection in my-networks endpoint

FixSecurityService
Shipped
17 ஏப்ரல், 2026 அன்று 3:15 AM UTC
Author
Kamo
Commit
bb8028e

The previous check only looked at org.getOwner() (user_id_owner column) which can be null for existing orgs. The authoritative owner flag lives on the TeamMember record itself.

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