Unify effective roles via post-role bindings, remove dedicated OA role UI, and update OA assignee resolution plus related SQL/docs. Co-authored-by: Cursor <cursoragent@cursor.com>
772 B
772 B
OA 审批人:工作流角色 → 职位 Implementation Plan
For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task.
Goal: 流程审批/抄送用职位成员替代工作流角色;彻底删除 OA 角色模块并 DROP 表。
Architecture: assigneeType: "posts" + postIds → sys_user_post 展开用户;不碰 sys_post_role。
Spec: docs/superpowers/specs/2026-08-04-oa-assignee-posts-replace-roles-design.md
Status: 已完成(2026-08-04)
- Task 1: 后端解析与发布校验
- Task 2: 前端流程设计器
- Task 3: 删除工作流角色模块 + drop SQL
- Task 4: 验收(
pytest35 passed)