halo/ui/console-src/modules/system
Ryan Wang 391aac62d3
feat: add multi-role assignment support for users (#7037)
#### What type of PR is this?

/area ui
/kind feature
/milestone 2.20.x

#### What this PR does / why we need it:

支持为用户分配多个角色。

<img width="634" alt="image" src="https://github.com/user-attachments/assets/caa40327-518a-4bef-afc3-75a020018d3d">
<img width="764" alt="image" src="https://github.com/user-attachments/assets/8b4b807e-6c72-45d9-9368-75e70bb12dcc">

TODO:

- [x] Console / UC 侧边栏显示多个角色
- [x] 支持在管理端查看用户聚合的角色模板列表,或者在分配时显示所选角色其下的角色模板列表,能够让管理员清楚的知道用户具体权限。

#### Which issue(s) this PR fixes:

Fixes #

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?

```release-note
支持为用户分配多个角色。
```
2024-11-24 15:48:21 +00:00
..
auth-providers refactor: auth provider sorting logic for better maintainability and clarity (#6846) 2024-10-14 10:53:24 +08:00
backup fix: unique index conflict issue after backup restoration preventing startup (#6701) 2024-10-07 09:20:50 +00:00
overview feat: add H2 database usage warning to setup page (#6502) 2024-08-26 02:29:12 +00:00
plugins chore: add prettier-plugin-organize-imports plugin to organize imports (#6836) 2024-10-12 07:05:09 +00:00
roles feat: add multi-role assignment support for users (#7037) 2024-11-24 15:48:21 +00:00
settings chore: remove unused code related to system configMap (#6695) 2024-09-24 06:57:20 +00:00
tools chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
users feat: add multi-role assignment support for users (#7037) 2024-11-24 15:48:21 +00:00