Skip to content

Conversation

@volnei
Copy link
Contributor

@volnei volnei commented Nov 21, 2025

What does this PR do?

User assignment improvements

@keithwillcode keithwillcode added core area: core, team members only foundation labels Nov 21, 2025
@volnei volnei marked this pull request as ready for review November 21, 2025 13:47
@graphite-app graphite-app bot requested a review from a team November 21, 2025 13:47
@vercel
Copy link

vercel bot commented Nov 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
cal Ignored Ignored Nov 21, 2025 2:42pm
cal-eu Ignored Ignored Nov 21, 2025 2:42pm

…k 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 <[email protected]>
keithwillcode
keithwillcode previously approved these changes Nov 21, 2025
@volnei volnei enabled auto-merge (squash) November 21, 2025 14:07
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@volnei volnei merged commit 5cb1d4a into main Nov 21, 2025
39 checks passed
@volnei volnei deleted the fix/improve_add_user_to_org branch November 21, 2025 15:18
@github-actions
Copy link
Contributor

E2E results are ready!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants