halo/ui/uc-src/modules/profile
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
..
components Refine password validation 2024-10-10 10:43:20 +08:00
composables chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
tabs feat: add multi-role assignment support for users (#7037) 2024-11-24 15:48:21 +00:00
Profile.vue feat: refine 2fa-related i18n (#6228) 2024-07-01 06:41:16 +00:00
module.ts chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00