Commit Graph

10 Commits

Author SHA1 Message Date
Cheng Zhou 44d69c2d7b 清理全局角色残留并修复项目权限判断 2026-05-29 10:20:42 +08:00
Cheng Zhou 63457aab11 支持开发环境局域网登录测试 2026-05-29 09:39:18 +08:00
Cheng Zhou 5b97ea32ab 移除用户系统级角色,权限完全迁移至项目级管理
- 用户注册/创建不再需要选择角色,账号管理只管资料和状态
- 移除前后端所有系统级 role 字段的暴露,改用 is_admin 标识管理员
- PM(项目负责人)角色自动拥有全部项目权限且不可修改
- 系统管理员在项目中的成员身份不可被删除
- 管理界面全面美化

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 15:52:17 +08:00
Cheng Zhou 77e842637d 中文:收口权限与中心/立项配置改造 2026-05-12 10:16:52 +08:00
Cheng Zhou 74feca4467 feat: harden auth and study workflows
- replace plaintext login and unlock requests with RSA-OAEP/AES-GCM encrypted payloads

- add login challenge replay protection, production RSA key validation, and auth tests

- wire compose to environment-driven dev/prod settings without committing local secrets

- update setup-config smoke scripts and Postman docs for encrypted login

- add visit schedule migrations/tests and update study/subject setup workflows
2026-05-08 22:16:43 +08:00
Cheng Zhou 0c7c03069a 新增空闲锁屏、修复401等问题,新增文件版本管理、共享库等占位符 2026-01-13 13:59:07 +08:00
Cheng Zhou 1338fa7e2b 全局中文化 2026-01-12 11:14:04 +08:00
Cheng Zhou 6ddf9901a0 新增用户注册功能 2025-12-22 21:19:48 +08:00
Cheng Zhou 65df698570 Step 2:用户 CRUD + bcrypt + JWT 真实鉴权 + RBAC 依赖 2025-12-16 16:15:28 +08:00
Cheng Zhou 223d445a94 refactor: improve code structure and optimize key functions 2025-12-16 15:55:08 +08:00