feat(identity): 支持用户和用户组批量管理

增加原子批量启用、禁用和删除接口及管理端多选操作,目标缺失时整批回滚。\n\n拆分管理端与 API Key 权限缓存并在弹窗保存后刷新候选;补齐失效规则一键清理样式、固定右侧操作列和 OpenAPI 契约。
This commit is contained in:
2026-08-03 15:43:49 +08:00
parent 7376d6fab6
commit ad8cdd525b
19 changed files with 1167 additions and 74 deletions
+14
View File
@@ -399,6 +399,20 @@ export interface GatewayUserUpsertRequest {
status?: 'active' | 'disabled' | 'locked' | 'deleted' | string;
}
export type IdentityBatchAction = 'enable' | 'disable' | 'delete';
export interface IdentityBatchRequest {
ids: string[];
action: IdentityBatchAction;
}
export interface IdentityBatchResponse {
action: IdentityBatchAction;
requestedCount: number;
affectedCount: number;
ids: string[];
}
export interface GatewayTenant {
id: string;
tenantKey: string;