PayrollManagementSystem/backend/app/core
liuwenxin 7a0f3f4b98 feat(system): 业务岗位角色管理接口与保护规则
- 四层实现:仓储(FOR UPDATE 锁行 + 引用计数钩子预留)/ schemas / service / api 共 7 个端点
- 保护规则:内置岗位禁删禁停、编码创建后不可改、模板须在注册表内(未注册 400)
- 写操作全走审计上下文;冒烟验证 7 项(含成功/失败双路径落日志)
- 端点:列表/新增/详情/编辑/删除/启停 + meta/templates 模板下拉

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-12 16:39:08 +08:00
..
__init__.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
captcha_image.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
config.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
constants.py feat(system): 业务岗位角色管理接口与保护规则 2026-10-12 16:39:08 +08:00
db.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
exception_handlers.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
exceptions.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
logging.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
redis_client.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
response.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00
security.py chore: 初始化项目结构与登录鉴权模块 2026-10-09 18:46:36 +08:00