Repository navigation
fix(groups): describe combined invitations accurately - #764
Merged
Merged
Conversation
Contributor
Author
* origin/main: fix(storage): strip camera metadata from uploaded pictures (#738) fix(series): generate dates from the current schedule (#757) fix(storage): enforce current access on picture requests (#755) fix(huddl): keep pages working when a huddl's group is hidden (#747) fix(auth): enforce resend cooldowns and stabilize timing tests (#748)
…belong An invitation retired because its recipient already belonged to the group is now bound to that account, as a combined invitation is, so opening the email link after delivery shows the already-a-member page instead of asking the signed-in member to sign in with the address they are using. The invitation page also names the combined status.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Organizers see when two invitations were combined. Opening the retired email link takes the recipient to Invites with the reason and the remaining offer. If that offer changes from member to organizer, the recipient gets one inbox update linked to the original invitation.
Delivery quietly closes offers already covered by the recipient’s membership. A member can still review and accept an organizer offer for the group.
Evidence
Before: The original email link said the organizer revoked the invitation. The inbox showed only the original member offer, and confirming an address could invite someone to a group they had already joined.
After: The address-change scenario follows the old link and accepts the organizer offer. Separate PostgreSQL sessions exercised a signed-link claim waiting on delivery, two workers applying an upgrade, and delivery waiting on acceptance. Each observed the expected lock wait with
pg_blocking_pids. The database deadlock count held steady.Merge Danger
Door: Forward deployment. Rolling back after new terminal states are written requires code that can read them.
Blast Radius: Invitations