KamoCRM

Store memberType in Redis session at login

FeatureSecurityService
Shipped
16 ஏப்ரல், 2026 அன்று 2:05 AM UTC
Author
Kamo
Commit
2327c97

Adds CASE WHEN e.id IS NOT NULL THEN 'TEAM_MEMBER' ELSE 'MEMBER' END to the login SQL query and passes the result through createSession into Redis, so frontend can distinguish team members from regular members via session data.

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