chore(task): 归档个人设置与管理边界重构
这个提交包含在:
@@ -0,0 +1,4 @@
|
||||
{"file": ".trellis/spec/hyb-oa/project-governance.md", "reason": "Required task validation and commit gate"}
|
||||
{"file": ".trellis/spec/hyb-oa/frontend-react-vite-design.md", "reason": "Required frontend typecheck/build and focused visual/Playwright checks"}
|
||||
{"file": ".trellis/spec/hyb-oa/security-privacy.md", "reason": "Check no role code, secret or sensitive account leakage"}
|
||||
{"file": ".trellis/spec/hyb-oa/docs-and-evidence.md", "reason": "Evidence and report privacy rules"}
|
||||
@@ -0,0 +1,18 @@
|
||||
# 个人设置与管理配置边界重构设计
|
||||
|
||||
## Page Template
|
||||
|
||||
个人设置使用轻量账号详情页;管理配置继续使用 `管理配置页`。二者入口、字段和动作分离,不共享复杂配置表单。
|
||||
|
||||
## Implementation Shape
|
||||
|
||||
- 个人设置主区只保留个人资料、安全、通知偏好和企微绑定。
|
||||
- 组织归属、直属上级和角色摘要折叠展示,隐藏权限 code 和维护动作。
|
||||
- 管理能力在 `SystemSettingsPage` 或对应管理页分组承接。
|
||||
- 移动我的只保留账号、通知、企微绑定和退出登录。
|
||||
|
||||
## Verification Focus
|
||||
|
||||
- 普通员工从工作台进入个人资料不会看到管理配置。
|
||||
- 管理员仍能从管理入口进入人员、组织、规则和系统配置。
|
||||
- 移动我的不展示管理矩阵。
|
||||
@@ -0,0 +1,4 @@
|
||||
{"file": ".trellis/spec/hyb-oa/project-governance.md", "reason": "Trellis task, approval and solo-developer execution constraints"}
|
||||
{"file": ".trellis/spec/hyb-oa/frontend-react-vite-design.md", "reason": "Profile, management page, shell and action placement rules"}
|
||||
{"file": ".trellis/spec/hyb-oa/security-privacy.md", "reason": "Sensitive account, role and identity information display boundaries"}
|
||||
{"file": ".trellis/spec/hyb-oa/docs-and-evidence.md", "reason": "Evidence and report privacy rules"}
|
||||
@@ -0,0 +1,52 @@
|
||||
# 个人设置与管理配置边界重构
|
||||
|
||||
## Goal
|
||||
|
||||
把个人设置、移动我的和管理配置边界彻底拆清:个人页面只服务本人资料、安全、通知偏好和企业微信绑定;组织、角色、审批规则、功能开关、主数据、审计和系统配置统一进入管理。
|
||||
|
||||
## Scope
|
||||
|
||||
- In scope:个人设置、移动我的、移动个人资料、管理入口边界和相关导航/入口断言。
|
||||
- Out of scope:权限模型、角色体系、账号绑定后端、企业微信 OAuth 后端和管理配置完整重构。
|
||||
|
||||
## Pages
|
||||
|
||||
- `client/src/pages/ProfilePage.tsx`
|
||||
- `client/src/pages/MobileMePage.tsx`
|
||||
- `client/src/pages/MobileProfilePage.tsx`
|
||||
- `client/src/pages/SystemSettingsPage.tsx`
|
||||
- 必要时同步管理入口页中与个人设置混淆的链接。
|
||||
|
||||
## Requirements
|
||||
|
||||
- 个人设置默认只展示个人资料、密码/安全、通知偏好、企业微信绑定。
|
||||
- 组织归属、直属上级、角色摘要可以折叠查看,但不提供维护矩阵或权限 code。
|
||||
- 移动我的只放账号身份、企微绑定、通知、退出登录和必要个人入口。
|
||||
- 管理配置统一承接人员、组织、角色、审批规则、主数据、通知渠道、外部系统、功能开关和审计。
|
||||
- 普通员工路径不展示系统配置、人员维护、流程定义或功能开关入口。
|
||||
|
||||
## Out of Scope
|
||||
|
||||
- 不改权限模型、不新增角色、不改变已有管理接口。
|
||||
- 不开发新的账号绑定后端或企业微信 OAuth 能力。
|
||||
- 不重做管理配置完整信息架构,只收敛个人/管理边界和入口误导。
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] 从工作台或快速入口进入个人资料时,用户不会看到复杂组织/权限/系统配置表单。
|
||||
- [ ] 个人设置没有审批规则、功能开关、主数据、审计日志和人员维护入口。
|
||||
- [ ] 管理配置入口能清楚承接低频系统能力。
|
||||
- [ ] 移动我的不出现管理矩阵。
|
||||
|
||||
## Test Plan
|
||||
|
||||
- `cd client && npm run typecheck`
|
||||
- `cd client && npm run build`
|
||||
- 聚焦个人设置、移动我的、管理配置入口和导航相关 Playwright/截图。
|
||||
- `node scripts/qa/check-trellis-governance.mjs`
|
||||
- `git diff --check`
|
||||
|
||||
## Implementation Notes
|
||||
|
||||
- 优先通过信息分组和入口显隐解决,不新增复杂设置框架。
|
||||
- 所有权限和数据范围仍由服务端校验,前端只做体验收敛。
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"id": "profile-settings-boundary",
|
||||
"name": "profile-settings-boundary",
|
||||
"title": "个人设置与管理配置边界重构",
|
||||
"description": "重构个人设置、移动我的和管理配置入口边界:个人只放个人资料/安全/通知/企微绑定,管理能力统一进管理。",
|
||||
"status": "completed",
|
||||
"dev_type": null,
|
||||
"scope": "frontend-page-redesign",
|
||||
"package": null,
|
||||
"priority": "P1",
|
||||
"creator": "shunli",
|
||||
"assignee": "shunli",
|
||||
"createdAt": "2026-05-30",
|
||||
"completedAt": "2026-05-30",
|
||||
"branch": null,
|
||||
"base_branch": "main",
|
||||
"worktree_path": null,
|
||||
"commit": null,
|
||||
"pr_url": null,
|
||||
"subtasks": [],
|
||||
"children": [],
|
||||
"parent": "05-29-page-design-rules-audit",
|
||||
"relatedFiles": [],
|
||||
"notes": "",
|
||||
"meta": {}
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户