Skip to content

fix: usability issues on the backend for managing invites#4315

Open
abelanger5 wants to merge 2 commits into
mainfrom
belanger/invites-backend-bugs
Open

fix: usability issues on the backend for managing invites#4315
abelanger5 wants to merge 2 commits into
mainfrom
belanger/invites-backend-bugs

Conversation

@abelanger5

Copy link
Copy Markdown
Contributor

Description

Fixes several backend issues related to tenant invites:

  1. Invite emails were not lowercased when created, which meant that casing which doesn't match the user email address (always lowercased) wouldn't register as a valid invite
  2. Users were allowed to create duplicate invites for the same email address
  3. Accepting a tenant invite when you were already a member would just be a silent no-op -- resolved by the above but fixed anyway.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

What's Changed

  • Updated handlers to fix issues listed above.

Checklist

Changes have been:

  • Tested (unit, integration, or manually with steps specified) -- manual
  • Linted and formatted

🤖 AI Disclosure
  • I acknowledge that an LLM was used in the creation of this Pull Request, in accordance with Hatchet's AI_POLICY.md.
  • Details: Claude for implementing fixes

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
hatchet-docs Ready Ready Preview, Comment Jun 30, 2026 4:30pm

Request Review

@abelanger5 abelanger5 requested a review from mrkaye97 June 30, 2026 16:00
@github-actions github-actions Bot added the engine Related to the core Hatchet engine label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine Related to the core Hatchet engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants