Commit Graph

24 Commits

Author SHA1 Message Date
Cheng Zhou 939fc70532 权限管理:接入项目级权限矩阵
新增项目级角色权限矩阵,覆盖 PM、CRA、PV、IMP、QA 等项目角色,并通过迁移表持久化各业务模块的读写权限。

后端将参与者、合同费用、物资、启动、里程碑、风险问题、监查稽查、FAQ、共享库、文件版本等接口接入矩阵校验,修复审计日志导出权限和登录 502 的依赖导入问题。

前端新增权限管理页面和项目路由权限映射,按矩阵控制导航显示、直接访问拦截、操作按钮启停,并限制管理后台仅 admin 和授权 PM 可进入。

补充后端权限归一化与接口静态测试、前端路由/权限工具/权限管理页面/工作台等回归测试。
2026-05-13 08:58:03 +08:00
Cheng Zhou 77e842637d 中文:收口权限与中心/立项配置改造 2026-05-12 10:16:52 +08:00
Cheng Zhou 6e90370a5f 移除特殊费用模块 2026-05-12 10:15:18 +08:00
Cheng Zhou 20d45cfdfe 修复项目配置草稿原子保存逻辑 2026-05-11 11:03:06 +08:00
Cheng Zhou f6a7a3d6ee 修复工作流表删除迁移幂等 2026-05-11 08:54:45 +08:00
Cheng Zhou 4592ff375d 修复迁移幂等并补部署检查 2026-05-11 08:45:41 +08:00
Cheng Zhou 917ab7ccf1 feat: refine subject visits and project workflows
Add early termination visit workflow with ordering, non-applicable visit handling, visit window display, and medication adherence support.

Extend monitoring visit issue template fields, site scoping, setup draft project info handling, login security UI, attachment behavior, and related tests/migrations.
2026-05-09 17:10:34 +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 4bebc64662 feat: 清理示例数据并统一空态体验 2026-03-31 11:20:57 +08:00
Cheng Zhou 0cd03eefa8 立项配置版本管理优化(回滚逻辑、UI、下载功能) 2026-03-04 14:49:59 +08:00
Cheng Zhou 9b36a42e6f 参与者管理- PD模块内容补充 2026-02-28 14:33:57 +08:00
Cheng Zhou af0c1b4b7d 补充监查访视问题模块内容、翻页功能UI统一 2026-02-28 09:51:13 +08:00
Cheng Zhou db2d38edbc 立项配置数据入库、审计日志数据入库、编辑页UI界面美化、设备管理内容补充、审计日志显示优化 2026-02-27 16:16:26 +08:00
Cheng Zhou 8f3f717e48 立项配置页初步优化 2026-02-24 16:53:22 +08:00
Cheng Zhou 737f84bf54 未知(继上次中断) 2026-02-04 10:52:34 +08:00
Cheng Zhou 8e258d21a7 chore: stop tracking frontend node_modules 2026-01-20 08:52:54 +08:00
Cheng Zhou 7fdcfdaadd 管理后台前后端逻辑、UI美化 2026-01-16 13:50:08 +08:00
Cheng Zhou 05c1f9579a 启动与授权-初步优化 2026-01-15 11:25:13 +08:00
Cheng Zhou 4fc5f0ee9b 立项与伦理-初步优化,新增.env 2026-01-14 15:33:52 +08:00
Cheng Zhou f9ef5c109f 文件版本管理-初步优化 2026-01-14 11:35:37 +08:00
Cheng Zhou ef1e67218c 药品流向管理内容优化-初步 2026-01-13 19:42:28 +08:00
Cheng Zhou 1db36f40b0 费用管理内容优化-初步 2026-01-13 16:49:55 +08:00
Cheng Zhou b3cd8e03f2 项目概览、参与者管理初步优化(未接入真实数据) 2026-01-13 10:10:28 +08:00
Cheng Zhou 6ddf9901a0 新增用户注册功能 2025-12-22 21:19:48 +08:00