You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
OrgContextExtractor — Axum FromRequestParts extractor that resolves OrganizationContext from a principal extension or X-Org-Id/X-Org-Path headers, with cross-tenant conflict detection.
OrgIsolationLayer — Tower middleware that short-circuits with 401 Unauthorized when OrganizationContext is absent from request extensions.
OrgContextSource — enum recording which mechanism resolved the org context (PrincipalClaim or Header).
OrgPolicy trait + AncestryOrgPolicy — policy trait for org-scoped access control, with a default ancestry-based implementation.
CreatedAtResponse<T> + created_at(location, value) helper — returns 201 Created with a Location header alongside the JSON body, mirroring ok / created / listed ergonomics.
AuditLayer — Tower middleware that captures request/response audit events to a pluggable AuditSink, with built-in sinks for tracing and in-memory collection.