nex_docus/docs/sdd/specs/DV-0004-rbac-admin/spec.md

28 lines
974 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# DV-0004RBAC 与系统管理 规格Spec
- **状态**Implemented
- **关联 ADR**ADR-0003
## 目标
提供基于角色的访问控制RBAC与系统管理能力用户、角色、权限、菜单、仪表盘
## 范围
- **In**:角色→菜单/权限点、用户管理、仪表盘统计。
- **Out**:细粒度字段级权限(当前为菜单/权限点/项目角色)。
## 用户故事
> 作为管理员,我希望按角色分配能力并量化系统使用情况,以便治理平台。
## 功能需求FR
| ID | 需求 | 验收要点 |
| --- | --- | --- |
| FR-6 | RBACroles/system_menus/role_menus超级管理员全量 | 用户多角色;菜单/权限点授权 |
| FR-7 | 用户管理:增删改查/启停/角色/重置密码 | 管理员可操作 |
| FR-8 | 仪表盘:统计与文档活跃度 | 数据正确 |
## 非功能需求NFR
| ID | 需求 |
| --- | --- |
| NFR-4 | 权限判定统一走 RBAC 依赖 |