758 B
758 B
| 1 | id | title | task_type | depends_on | status | task_dir | acceptance_criteria | validation_command | notes |
|---|---|---|---|---|---|---|---|---|---|
| 2 | 1 | 在 membership guard 增加系统设置角色校验 | single-full | DONE | tasks/guard | 系统设置路径只允许 owner 级角色 | pnpm --filter @personal-brand/api test:integration | 已覆盖 workspace 系统路由和 visual-template 路由 | |
| 3 | 2 | 保护视觉模板配置写入 | single-full | 1 | DONE | tasks/visual-template | editor 不能通过品牌配置修改 visualTemplateKey | pnpm --filter @personal-brand/api test:integration | 已在 AdminConfigController 增加角色校验 |
| 4 | 3 | 完成授权回归与记录 | single-full | 1;2 | DONE | tasks/regression | 编辑者允许内容管理且拒绝系统设置 | pnpm typecheck && pnpm format:check | API 32/32 通过,typecheck 和 format 通过 |