From 3113fc09ffc3d0594d1d6970ccd30aeaa8e72c40 Mon Sep 17 00:00:00 2001 From: chan Date: Thu, 5 Mar 2026 17:18:49 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=B4=EC=A0=95=EB=B3=B4=20=EB=A9=80?= =?UTF-8?q?=ED=8B=B0=20=ED=85=8C=ED=84=B4=ED=8A=B8=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/layout/AppLayout.tsx | 43 +++ .../src/features/users/UserDetailPage.tsx | 302 ++++++++++-------- adminfront/src/lib/adminApi.ts | 1 + adminfront/src/lib/tenantTree.ts | 22 +- backend/internal/handler/tenant_handler.go | 40 ++- backend/internal/handler/user_handler.go | 261 +++++++++------ .../internal/repository/user_repository.go | 23 +- locales/en.toml | 8 + locales/ko.toml | 8 + 9 files changed, 446 insertions(+), 262 deletions(-) diff --git a/adminfront/src/components/layout/AppLayout.tsx b/adminfront/src/components/layout/AppLayout.tsx index f28178d8..d9b68d46 100644 --- a/adminfront/src/components/layout/AppLayout.tsx +++ b/adminfront/src/components/layout/AppLayout.tsx @@ -286,6 +286,49 @@ function AppLayout() { + + {/* Manageable Tenants Section */} + {profile?.manageableTenants && + profile.manageableTenants.length > 0 && ( +
+

+ {t( + "ui.admin.profile.manageable_tenants", + "Manageable Tenants", + )} +

+
+ {profile.manageableTenants.map((tenant) => ( + + ))} +
+
+ )} +