Files
zkxw/docs/superpowers/plans/2026-08-04-oa-assignee-posts-replace-roles.md
T
zlwuandCursor 06db3bc966 feat(permission): replace OA roles with post-bound roles and assignee posts
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>
2026-08-04 17:41:04 +08:00

17 lines
772 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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)
- [x] Task 1: 后端解析与发布校验
- [x] Task 2: 前端流程设计器
- [x] Task 3: 删除工作流角色模块 + drop SQL
- [x] Task 4: 验收(`pytest` 35 passed)