fix(api): M9-audit batch B — auth gates + session revocation + robustness #186
No reviewers
Labels
No labels
epic
phase-0
phase-1
phase-2
phase-3
phase-4
phase-5
phase-6
phase-7
phase-8
phase-9
priority/P0
priority/P1
priority/P2
type/backend
type/client
type/docs
type/ops
type/security
type/spike
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
primatekuntech/failsulit!186
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/m9-audit-server-auth"
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?
Closes #168, closes #169, closes #180, closes #181, closes #182 (umbrella #167, batch B of the fix-all plan).
#168 recovery×panic-lock gate (send + verify, uniform 401, gate precedes burn)
#169 SuperAdmin in all four amr step-up predicates
#180 SessionRevocation.InvalidateAllForUser replaces 6 hand-rolled subsets (CompleteRecovery Id-form hole closed; PanicLock mfa-form closed); PanicLockSessionExtensions deleted
#181 FileActivityCleanup ID-select-then-delete (Postgres-translatable; retention actually runs now)
#182 SendOtpAsync rethrows; TotpEncryption.Decrypt length guard; lower(Email) one-time migration
Quota Tenant.StorageQuotaBytes enforced on both upload paths (null/0 = unlimited)
10 new tests; suite 1023/0/39 locally (one unrelated sweep flake seen once, green on rerun).
users, notUsers#195