Skip to content

Commit 5cb1d4a

Browse files
fix: Improve add users to org (calcom#25314)
* Improve add users to org * Improve add users to org * test: Add comprehensive tests for handleUserEvents cross-tenant hijack prevention - Add tests for cross-tenant hijack prevention security fix - Test that users belonging to different organizations are blocked - Test that users with null organizationId are blocked (prevents legacy user hijacking) - Test that users belonging to correct organization succeed - Test new user creation flow - Test user activation/deactivation flows - Test custom attribute syncing - All 8 tests passing locally with proper type safety (no 'as any' usage) Co-Authored-By: Volnei Munhoz <volnei.munhoz@gmail.com> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 701490a commit 5cb1d4a

2 files changed

Lines changed: 436 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)