KamoCRM

Compare member IDs as strings for self-check and redirect

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

User-info API returns memberID as string to preserve int64 precision. isSelf used Number() and strict equality with mixed types, so viewing your own /settings/member/:id was treated as another user and triggered redirect to session member when MANAGE rights were absent.

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