Skip to content

Commit 84d5a86

Browse files
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_01HTX859G6nAtZLHZiUofErL
1 parent 2659ed7 commit 84d5a86

3 files changed

Lines changed: 20 additions & 20 deletions

File tree

‎Cargo.lock‎

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ description = "The deployed FastTrackStudio identity server — auth.fasttrackst
1111
#
1212
# Pinned to a tag, not a branch: an auth server is the last thing that
1313
# should change under you unnoticed.
14-
auth-server = { git = "https://github.com/FastTrackStudios/architect", tag = "v0.8.3" }
15-
architect = { git = "https://github.com/FastTrackStudios/architect", tag = "v0.8.3", features = ["server", "host"] }
14+
auth-server = { git = "https://github.com/FastTrackStudios/architect", tag = "v0.8.4" }
15+
architect = { git = "https://github.com/FastTrackStudios/architect", tag = "v0.8.4", features = ["server", "host"] }
1616
eyre = "0.6"
1717
tokio = { version = "1", features = ["full"] }
1818
tracing = "0.1"

‎flake.nix‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
# sort first — which is why the key names a crate nothing here
4545
# depends on directly.
4646
outputHashes = {
47-
"architect-0.1.0" = "sha256-UcagrijcB1tRgtdXb8p4Y0VFA75JxlQtkLCxRGZL5XU=";
47+
"architect-0.1.0" = "sha256-X/wP5XIYkJoskymAWpmgqVLS3ZVrP4EKmDjRu/iZ4as=";
4848
"const-serialize-0.8.0-alpha.0" = "sha256-oHqJMK+0yxoQ9N6eKD6TeWATtlsFXmdw/MX/PIs6UyM=";
4949
# v0.8.3 brings auth-ui, which is a Dioxus application, so
5050
# three more git sources arrive with it. Same rule: one

0 commit comments

Comments
 (0)