Repository navigation
Commit 84d5a86
committed
Bump architect to v0.8.4: an organization can be handed over
`leave_organization` and `remove_member` reach the service trait, so an
organization is transferable for the first time. Somebody who is not the
intended owner — an operator, or an agent doing setup — could create one
and had no way to hand it over; the creator stayed an owner forever.
POST /auth/organization/remove-member
POST /auth/organization/leave
A transfer is two calls in one order: promote the heir to `owner`, then
leave. Never ownerless in between, and the last-owner rule refuses a
sole owner leaving, so a handover that fails halfway cannot strand the
org.
Verified: `nix build .#fts-auth` clean, and the built binary answers on
both new paths as well as the existing session and organization ones.
Claude-Session: https://claude.ai/code/session_01HTX859G6nAtZLHZiUofErL1 parent 2659ed7 commit 84d5a86
3 files changed
Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments