← All updates

Invitation links ask before you join a group

Security
Date:
2026-11-30
Changes:
9d93c46 · 1 commit

Why it matters: Opening an invitation link no longer adds you to a group until you confirm.

Opening a group invitation link now shows a “Join this group?” page with a button. You join only when you press it.

The usual checks still happen first, such as whether the invitation has expired, the group is archived, or you’re already a member. This matters more now that the Android app can open pages from links, because opening a link on its own no longer changes anything.

Commits (1)
  • 9d93c46 M3: invitation links confirm before joining
Files Changed (7)
app/controllers/groups_controller.rb           | 76 +++++++++++++++++++------------
app/views/groups/accept_invitation.html.erb    | 13 ++++++
config/routes.rb                               |  1 +
test/controllers/groups_controller_test.rb     |  6 ++--
test/controllers/invitation_confirm_test.rb    | 65 ++++++++++++++++++++++++++
test/controllers/launch_fixes_test.rb          |  2 +-
test/integration/sign_in_with_provider_test.rb |  3 ++
7 files changed, 133 insertions(+), 33 deletions(-)

← All updates