Files

23 lines
805 B
Markdown
Raw Permalink 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.
# 进度
- 任务:后台角色权限分层
- 形态:epic
- 进度:3/3
- 当前:`owner / admin / platform-admin` 与 `editor` 的最小权限边界已生效。
## 已完成
- 系统设置路径:模板安装、能力、视觉模板、模块和字段,仅允许 owner 级角色。
- 日常经营路径继续允许已启用品牌成员访问。
- `editor` 通过业务提供项读取测试,但访问能力设置和视觉模板被拒绝。
## 验证
- `pnpm --filter @personal-brand/api test:integration`:32/32 通过。
- `pnpm typecheck`:通过。
- `pnpm format:check`:通过。
## 注意
当前登录接口仍返回通用 `admin` token,真实用户管理、成员邀请和角色变更需要后续独立任务建设;本轮不把前端导航分组误称为完整权限系统。