Files

24 lines
883 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
- 当前:账号使用闭环已完成,下一步进行多品牌真实初始化验收。
## 已完成
- `AdminUser.mustChangePassword` 字段和 Prisma migration 已添加。
- 新增 `POST /admin/session/change-password`。
- 登录响应包含 `role` 和 `mustChangePassword`。
- 手动添加成员自动标记首次改密。
- 后台首次登录改密页面已接入。
- `editor` 隐藏系统管理菜单,直接访问系统管理路由会回到概览。
## 验证
- `pnpm typecheck`:通过。
- `pnpm --filter @personal-brand/admin build`:通过。
- `pnpm format:check`:通过。
- `pnpm --filter @personal-brand/api exec prisma migrate deploy`:已成功应用,`mustChangePassword` 字段已确认落库。
- `pnpm --filter @personal-brand/api test:integration`:34/34 通过。