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
+2
View File
@@ -79,6 +79,8 @@ export class GetUserService {
product: tenant.product,
theme: themeMode,
mode: themeMode,
/** Stealth cold-boot gate — false looks like product server unreachable */
server_reachable: !Boolean(tenant.serverAccessBlocked),
/** Khanegi front-end family for consumers */
ui_variant: isKhanegi ? uiVariant : undefined,
app_ui_config: