feat: per-tenant server access kill switch

Add Tenant.serverAccessBlocked, toggle API with appVersion bump and settings push, and expose stealth server_reachable in get_user.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-11 16:05:04 +03:30
co-authored by Cursor
parent af1e217a68
commit 51e350405a
9 changed files with 164 additions and 12 deletions
@@ -0,0 +1,7 @@
-- Per-tenant app/admin access kill switch (shared physical servers stay up)
ALTER TABLE "tenants"
ADD COLUMN IF NOT EXISTS "server_access_blocked" BOOLEAN NOT NULL DEFAULT false;
ALTER TABLE "tenants"
ADD COLUMN IF NOT EXISTS "server_access_blocked_at" TIMESTAMP(3);