feat: 接入真实登录与成员权限

- auth/members/messages: 新增超级管理员登录、成员权限和密码消息流程
- agent-config/agent: 支持服务端保存 Agent 配置并取消未配置 mock 成功结果
- projects/deploy-runs/settings: 按当前用户权限保护真实接口
- prisma: 新增用户、项目权限和平台消息表结构
This commit is contained in:
湛兮
2026-06-12 00:38:23 +08:00
parent cf1bebf625
commit bc3aa31289
83 changed files with 3844 additions and 378 deletions
+13
View File
@@ -0,0 +1,13 @@
export const SUPER_ADMIN_SEED = {
id: 'user_super_admin_zhanxi',
account: 'zhanxi',
displayName: '超级管理员',
} as const;
export const LOCAL_SUPER_ADMIN_INITIAL_PASSWORD = 'devops-local-admin';
export const MEMBER_INITIAL_PASSWORD = '111111';
export const AUTH_COOKIE_NAME = 'devops_auth_token';
export const AUTH_TOKEN_VERSION = 'v1';