halo/ui/uc-src/modules/profile/tabs
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 feat: refine 2fa-related i18n (#6228) 2024-07-01 06:41:16 +00:00
composables Refine UI for device managment 2024-06-26 18:53:24 +08:00
Detail.vue feat: add multi-role assignment support for users (#7037) 2024-11-24 15:48:21 +00:00
Devices.vue chore: add prettier-plugin-organize-imports plugin to organize imports (#6836) 2024-10-12 07:05:09 +00:00
NotificationPreferences.vue chore: organize and fix imports (#6152) 2024-06-26 10:42:50 +00:00
PersonalAccessTokens.vue refactor: unified empty state UI action button styles (#6704) 2024-09-26 08:47:31 +00:00
TwoFactor.vue feat: refine 2fa-related i18n (#6228) 2024-07-01 06:41:16 +00:00