[FEATURE]: Invite a member to their own account #672

Open
opened 2026-11-13 12:06:10 +01:00 by simon · 0 comments
Owner

Description

There is no path from an approved application to a member login. Today an admin opens /users/new, enters the email, links the member and either sets a password or tells the member to use "forgot password". Self-service therefore reaches almost nobody.

Proposal

  • "Invite to account" on a member (and as an option when approving a join request): creates the user account linked to the member and sends an invitation mail with a link to set the password (reusing the password reset token mechanism, with its own expiry and text).
  • Only offered when the member has an own email address that no other user uses; otherwise the action explains why it is not available.
  • OIDC-only installations: the invitation explains how to sign in with the identity provider; linking happens by the confirmed email.
  • The board can see whether a member was invited and whether the account is active, and can resend.

Acceptance criteria

  • After "invite", the member receives a mail and can set a password and land on their own page.
  • The invitation link expires and cannot be reused; resend invalidates the old link.
  • No invitation for emails already used by another user; clear message to the board.
  • Board and kassenwart roles that may approve can invite; members cannot invite others (test with forged event).
  • Works when invitation is chosen at approval time.

Dependencies

  • After #664 (members must not gain broad edit rights), #665 (landing page) and #668 (mail templates and sending record).
## Description There is no path from an approved application to a member login. Today an admin opens `/users/new`, enters the email, links the member and either sets a password or tells the member to use "forgot password". Self-service therefore reaches almost nobody. ## Proposal - "Invite to account" on a member (and as an option when approving a join request): creates the user account linked to the member and sends an invitation mail with a link to set the password (reusing the password reset token mechanism, with its own expiry and text). - Only offered when the member has an own email address that no other user uses; otherwise the action explains why it is not available. - OIDC-only installations: the invitation explains how to sign in with the identity provider; linking happens by the confirmed email. - The board can see whether a member was invited and whether the account is active, and can resend. ## Acceptance criteria - [ ] After "invite", the member receives a mail and can set a password and land on their own page. - [ ] The invitation link expires and cannot be reused; resend invalidates the old link. - [ ] No invitation for emails already used by another user; clear message to the board. - [ ] Board and kassenwart roles that may approve can invite; members cannot invite others (test with forged event). - [ ] Works when invitation is chosen at approval time. ## Dependencies - After #664 (members must not gain broad edit rights), #665 (landing page) and #668 (mail templates and sending record).
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
local-it/mitgliederverwaltung#672
No description provided.