members: the self-signup form asks for the person's email too (ADR 0251 follow-up) #1583
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1583
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
ADR 0251 (Ben's ruling on #1580) gives a by-hand member a real email address, held as kanidm
mail. A person who joins through an invite link still submits only a name (SignupSubmission{Name, Credential, Password, RequestID}), so they have no address. On the services that file a person under their email they read "not yet applied" (Grist, newsletters), and the gate refuses them at data-collections withGateReasonNoEmail.What
SignupSubmissionandSignupSpecgainEmail, validated and folded bymember.NormalizeEmail, with the same one-address-one-person refusal as the by-hand path.kanidm.CreatePendingPersonwritesmailin the create (it passes an empty mail today).POST /api/v1/join/{token}and the OpenAPI schema takeemail.MemberJoinsScreen.vuegains the field, refusals shown verbatim.docs/ux/wireframes/p6-members/p6-s3-member-joins.htmland the S2→S3 edge inp6-members.mermaid. The IDIP twin already draws an email field (optional there); decide whether the two should agree.Acceptance
mailand reads applied on data-collections.swarm-claim host=bens-mac-04 run=26650
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime.
The issue's open question — the IDIP twin (
p6-members-idip/p6-s3i-member-joins.html) draws an optional email field; should the two agree?Ruling: they DIVERGE on the requirement, deliberately, while sharing the element contract:
p6-members/p6-s3-member-joins.html, this slice) makes the address required — ADR 0251 mandates a real email for every member, and this ticket's acceptance refuses a signup with no/malformed/already-held address. So P6-S3 cannot ship an optional email.data-field="email"element so the contract element is shared even though the requirement is not.Why two-way door: revertible by a later commit and provable by the wireframe + the shipped component tests (
membersJoin/joinEntryassert the field arms the submit; the seam suite refuses the absent address). If a future decision wants the twin to require it too, that is a one-line label/validation change on the twin — no data destruction, no security-posture change, no member-facing trust accept.close-report for #1583 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope