diff --git a/ui/console-src/layouts/BasicLayout.vue b/ui/console-src/layouts/BasicLayout.vue index 0eff4a6604..4b89567bbb 100644 --- a/ui/console-src/layouts/BasicLayout.vue +++ b/ui/console-src/layouts/BasicLayout.vue @@ -9,11 +9,13 @@ import { coreMenuGroups } from "@console/router/constant"; import { Dialog, IconAccountCircleLine, + IconArrowDownLine, IconLogoutCircleRLine, IconMore, IconSearch, - IconUserSettings, + IconShieldUser, VAvatar, + VDropdown, VTag, } from "@halo-dev/components"; import { useEventListener } from "@vueuse/core"; @@ -152,10 +154,10 @@ onMounted(() => { > {{ currentUser?.spec.displayName }} -
- +
+ {{ currentRoles[0].metadata.annotations?.[ @@ -163,6 +165,41 @@ onMounted(() => { ] || currentRoles[0].metadata.name }} + +
+ + + {{ $t("core.sidebar.profile.aggregate_role") }} + + +
+ +
@@ -299,6 +336,7 @@ onMounted(() => { .profile-placeholder { height: 70px; + flex: none; .current-profile { height: 70px; diff --git a/ui/console-src/modules/system/roles/RoleDetail.vue b/ui/console-src/modules/system/roles/RoleDetail.vue index d32a9164de..1cc46b693b 100644 --- a/ui/console-src/modules/system/roles/RoleDetail.vue +++ b/ui/console-src/modules/system/roles/RoleDetail.vue @@ -183,8 +183,8 @@ const handleUpdateRole = async () => {
@@ -224,7 +224,7 @@ const handleUpdateRole = async () => {
    -
  • +