Files
2025-10-10 14:35:58 +08:00

28 lines
409 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.
# permission-control
😃 AOP + 自定义注解 + RBAC 实现操作权限鉴定
## 术语
RBAC:Role-Based Access Control 基于角色的访问控制
## 数据库表
### 访问控制
- 用户表
- 用户-权限表
- 角色表
- 角色-权限表
- 权限表
### 业务
- 商品列表
## 规则
角色:USER / ADMIN
- `USER`: 能够获取商品信息
- `ADMIN`: 能够对商品信息进行增删改