单组织诊断:成员/邀请/工作区/帖子计数。
组织主键。
诊断包;未命中抛 404。
导出该组织全部数据为单一 JSON(NFR-6·不含凭证)。
组织主键。
六段聚合导出;未命中抛 404。
跨平台列出所有组织(仅操作员·offset 分页)。
分页与搜索请求。
带生命周期状态的组织分页页。
硬删已处 deleted 终态的组织(不可逆·FK 级联 + 事件清除·NFR-6)。
组织主键。
当前操作员会话。
含 purgedEvents 的硬删结果;未命中/幂等 404、非终态 409。
软删组织(→deleted 终态·行保留供导出)。
组织主键。
当前操作员会话。
标记已删的组织读模型;未命中 404、已删 409。
恢复已暂停组织(suspended→active)。
组织主键。
当前操作员会话。
恢复后的组织读模型;未命中 404、非法转移 409。
暂停活动组织(active→suspended·fail-closed 失能)。
组织主键。
当前操作员会话。
暂停后的组织读模型;未命中 404、非法转移 409。
平台操作员治理切片的 HTTP 控制器(多租户 S5 · FR-6/FR-11①/FR-13)。
Remarks
Platform operator governance slice (global-tenancy S5 · FR-6/FR-11①/FR-13).
Every route is gated by
PlatformOperatorGuard(the sole cross-tenant authority — the unique platform operator, DB email matchesplatform.operatorEmail, fail-closed). These handlers read/write WITHOUT a tenant scope on purpose: platform-level governance spans all tenants (FR-11①), so they deliberately never bind TenantIsolationGuard.Lifecycle transitions route through
OrganizationStatusService.transition(single choke-point on theorganization.statuscolumn — restored onto the BA shared table by governance-lifecycle-consolidation slice B, the formertenantside table being DROPped; §9.4 state machine): suspend (active→suspended), resume (suspended→active), delete (soft→deleted terminal). Each success/failure emits a structured audit line (FR-6).