logan
4111e1eee8
refactor: 权限组简化为2组(readonly/write) + Transfer穿梭框选择数据库
- access_type 从3值(readonly/datachange/ddl)简化为2值(readonly/write)
- readonly=只读查看(关联只读/从库用于查询) write=写入变更(关联主库用于工单)
- 前端InstanceGroupPage重写: 2权限类型卡片+自定义Transfer穿梭框组件
- Transfer组件: 左侧可选数据库→右侧已授权数据库, 搜索/勾选/箭头移动
- role_permissions.py更新: 2值权限映射, get_accessible_instances按access_type过滤
- 后端schema/模型校验更新为readonly|write正则
- 15个测试全部通过
2026-05-24 19:27:04 +08:00
..
2026-05-24 12:05:26 +08:00
2026-05-22 22:26:10 +08:00
2026-05-23 14:41:06 +08:00
2026-05-22 22:26:10 +08:00
2026-05-22 22:53:48 +08:00
2026-05-24 19:27:04 +08:00
2026-05-23 00:09:34 +08:00
2026-05-22 22:26:10 +08:00
2026-05-23 14:41:06 +08:00
2026-05-23 14:41:06 +08:00
2026-05-22 22:26:10 +08:00
2026-05-24 12:05:26 +08:00
2026-05-23 14:41:06 +08:00
2026-05-23 14:41:06 +08:00
2026-05-24 02:42:29 +08:00
2026-05-22 11:11:57 +08:00
2026-05-24 14:08:45 +08:00
2026-05-23 17:50:13 +08:00