merlinpanda / rbac
rbac
v0.2.7
2023-11-07 16:28 UTC
Requires
- php: ^7.3|^8.0
- illuminate/database: ^8.0
- illuminate/http: ^8.0
- illuminate/support: ^8.0
- nesbot/carbon: ^2.67
- predis/predis: ^2.2
- tymon/jwt-auth: ^1.0
README
-
app types
- app type projects
- app type project menus
- app type project permissions
- app type rbac roles
- rbac role -> app type project menus
- rbac role -> app type project permissions
- app type projects
-
app type projects
-
app type project menus
-
app type project permissions
-
app type rbac roles
-
app type rbac role menus
-
app type rbac role permissions
-
app projects
- app_id | | acss
- app | --> | conference
- app type project | | ...
-
acss
- id | |
- app type id | --> | 获取 已开通 project
- ... | | 获取role --> 通过project获取 --> permission, menus
-
acss user
- acss id
- user id
- role value
-
conference
- id | |
- acss id | --> | 获取 已开通 project
- app type id | | 获取role --> 通过project获取 --> permission, menus
- ... | |
-
conference staff
- role value