KamoCRM

Correct field name mapping between backend and frontend for access level API

Fixkamo-internal
Shipped
11 ஏப்ரல், 2026 அன்று 11:40 PM UTC
Author
kamo
Commit
be07266

Map backend securityLevelId→accessLevel, isOrganizationOwner→isOwner, memberType→isTeamMember in API route. Fix right check to use EDIT_MEMBER_ACCESS_LEVEL instead of MANAGE_MEMBER_SECURITY. Fix owner toggle to check signed-in user's owner status via separate API call. Fix getSecurityLevel() runtime type (returns number, not ImageAccessLevelType object).

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