mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-25 13:10:13 +00:00
43ddc60111
TenantConfiguration.Disabled/DisabledUntil was checked solely in AuthFunction.BuildAuthResult (GET /api/auth/me), so a direct REST caller with a valid token kept full read/write access for the whole suspension window and during an offboarding wipe. DecideAsync now denies 403 TenantSuspended when the caller's home tenant or the request's target tenant is currently disabled (cached, side-effect-free config read). GA/GlobalReader bypass to administer the tenant; device/anonymous routes keep their SecurityValidator gate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>