Commit 885451e
fix(plugin-auth): say remedy (b) cannot recover an EXISTING person at all
Input from #15587's dev, who searched before concluding it: that fix does not
make this remedy true, it makes it fail HONESTLY — the person still cannot
register a login, and for an EXISTING person that is by design, not by defect
(#14349 is closed on option A, the door stays shut, which the line above
already cites).
The previous wording rested entirely on forced email verification. That is the
story for a NEW address. The operator reading this line is usually trying to
recover somebody the directory already holds, and for them the posture is not
the lever at all: self-registration is a user-CREATION path, so it cannot hand
a login to an address that already carries a `sys_user` row, whatever the
posture. Both failures are real; they are different failures, and the more
likely one was missing.
⛔ Stated in MECHANISM terms, deliberately. #15587 is a draft under review, so
this line asserts no wire status for that refusal — the M2 pin that forbids
USER_ALREADY_EXISTS / "answers 200" / "persists nothing" / "no new row" in
this message stays green, and the new clause is written to keep it that way.
Two more pins: the gate ADMITS this address under `open` with no invitation at
all — which is what shows the posture is not what stops an existing person,
since whatever refuses them sits downstream of it — and the message states the
mechanism rather than a status code.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XpTx2tbq3pZRYAdoGt6E6Y1 parent db8348e commit 885451e
3 files changed
Lines changed: 42 additions & 8 deletions
File tree
- .changeset
- packages/plugins/plugin-auth/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
402 | 424 | | |
403 | 425 | | |
404 | 426 | | |
| |||
Lines changed: 19 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
67 | 77 | | |
68 | 78 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
| |||
285 | 294 | | |
286 | 295 | | |
287 | 296 | | |
288 | | - | |
289 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
290 | 302 | | |
291 | 303 | | |
292 | 304 | | |
| |||
0 commit comments