Skip to content

Conversation

@Flapjacck
Copy link
Member

@Flapjacck Flapjacck commented Feb 4, 2026

This pull request introduces a set of new features to support batch operations for adding and managing team members and candidates, primarily through email invitations. The changes include new controller endpoints, validation schemas, email templates, and updates to the routing and email service logic to streamline team administration workflows.

Batch User and Candidate Management Functionality

  • Added new controller endpoints for batch adding team members and candidates, retrieving team candidates, and removing candidates from a team. These endpoints enforce admin or team member permissions as appropriate. [1] [2] [3] [4] [5]

  • Introduced new Zod validation schemas for validating batch add requests for both members and candidates, ensuring correct payload structure and email validation.

Email Invitation System Enhancements

  • Implemented a new sendTeamInvitation method in EmailService for sending customized team invitation emails, supporting both HTML and plain text formats, with optional personal messages and dynamic role/team details. [1] [2]

  • Added new email templates for team invitations, including subject, HTML, and plain text versions, to provide a clear and branded invitation experience for recipients. [1] [2] [3]

These changes collectively enable team admins to efficiently onboard multiple users or candidates via batch operations, with robust validation and improved communication through customized email invitations.

Closes #100

@Flapjacck Flapjacck changed the title Issue 100 2 Issue 100 | User-team association functionality Feb 4, 2026
@Flapjacck Flapjacck added backend 🔧 Any issue related to backend development API 🌐 Issues related to API development enhancement ✨ Improvements to existing features labels Feb 4, 2026
@Flapjacck Flapjacck requested a review from Shazzz135 February 4, 2026 19:11
@Flapjacck Flapjacck merged commit bbeede8 into main Feb 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API 🌐 Issues related to API development backend 🔧 Any issue related to backend development enhancement ✨ Improvements to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔗 Create user-team association functionality

2 participants