forked from baron/baron-sso
내 정보 및 역할별 권한 범위 안내 제공
This commit is contained in:
@@ -117,6 +117,13 @@ function ProfilePage() {
|
|||||||
</p>
|
</p>
|
||||||
<p className="text-sm">{profile.email}</p>
|
<p className="text-sm">{profile.email}</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="space-y-1">
|
||||||
|
<p className="text-sm font-medium text-muted-foreground flex items-center gap-2">
|
||||||
|
<Briefcase className="h-4 w-4" />
|
||||||
|
{t("ui.dev.profile.basic.phone", "Phone")}
|
||||||
|
</p>
|
||||||
|
<p className="text-sm">{profile.phone || "-"}</p>
|
||||||
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
@@ -163,16 +170,22 @@ function ProfilePage() {
|
|||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<div className="flex items-center gap-4 bg-muted/30 p-4 rounded-lg border border-border">
|
<div className="flex items-center gap-4 bg-muted/30 p-4 rounded-lg border border-border">
|
||||||
<div className="h-12 w-12 rounded-full bg-primary/20 flex items-center justify-center text-primary">
|
<div className="h-12 w-12 rounded-full bg-primary/20 flex items-center justify-center text-primary shrink-0">
|
||||||
<Briefcase className="h-6 w-6" />
|
<Briefcase className="h-6 w-6" />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div className="flex flex-col gap-1 w-full">
|
||||||
<p className="text-sm text-muted-foreground font-medium uppercase tracking-wider">
|
<p className="text-sm text-muted-foreground font-medium uppercase tracking-wider">
|
||||||
{t("ui.dev.profile.role.current", "Current Role")}
|
{t("ui.dev.profile.role.current", "Current Role")}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xl font-bold mt-1">
|
<p className="text-xl font-bold mt-1">
|
||||||
{t(`ui.common.role.${profile.role}`, profile.role.toUpperCase())}
|
{t(`ui.common.role.${profile.role}`, profile.role.toUpperCase())}
|
||||||
</p>
|
</p>
|
||||||
|
<p className="mt-1 text-sm text-muted-foreground">
|
||||||
|
{t(
|
||||||
|
`ui.dev.profile.role.desc_${profile.role}`,
|
||||||
|
"시스템 역할에 대한 설명이 제공되지 않았습니다.",
|
||||||
|
)}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
|||||||
@@ -1418,6 +1418,7 @@ title = "User Info"
|
|||||||
id = "User ID"
|
id = "User ID"
|
||||||
name = "Name"
|
name = "Name"
|
||||||
email = "Email"
|
email = "Email"
|
||||||
|
phone = "Phone Number"
|
||||||
|
|
||||||
[ui.dev.profile.org]
|
[ui.dev.profile.org]
|
||||||
title = "Organization Info"
|
title = "Organization Info"
|
||||||
@@ -1428,6 +1429,11 @@ company_code = "Company Code"
|
|||||||
title = "System Role"
|
title = "System Role"
|
||||||
description = "The permission level granted to this account."
|
description = "The permission level granted to this account."
|
||||||
current = "Current Role"
|
current = "Current Role"
|
||||||
|
desc_super_admin = "Can manage all tenants and applications system-wide without restriction."
|
||||||
|
desc_tenant_admin = "Can manage all applications within their assigned tenant."
|
||||||
|
desc_rp_admin = "Can view and manage only assigned/linked applications."
|
||||||
|
desc_user = "Standard application access. DevFront access is denied."
|
||||||
|
desc_tenant_member = "Standard application access. DevFront access is denied."
|
||||||
|
|
||||||
[ui.admin.nav]
|
[ui.admin.nav]
|
||||||
api_keys = "API Keys"
|
api_keys = "API Keys"
|
||||||
|
|||||||
@@ -1431,6 +1431,7 @@ title = "사용자 정보"
|
|||||||
id = "사용자 ID"
|
id = "사용자 ID"
|
||||||
name = "이름"
|
name = "이름"
|
||||||
email = "이메일"
|
email = "이메일"
|
||||||
|
phone = "전화번호"
|
||||||
|
|
||||||
[ui.dev.profile.org]
|
[ui.dev.profile.org]
|
||||||
title = "조직 정보"
|
title = "조직 정보"
|
||||||
@@ -1441,3 +1442,8 @@ company_code = "회사 코드"
|
|||||||
title = "시스템 역할"
|
title = "시스템 역할"
|
||||||
description = "현재 계정에 부여된 권한 등급입니다."
|
description = "현재 계정에 부여된 권한 등급입니다."
|
||||||
current = "현재 역할"
|
current = "현재 역할"
|
||||||
|
desc_super_admin = "전체 시스템의 모든 테넌트와 모든 앱을 제한 없이 관리할 수 있습니다."
|
||||||
|
desc_tenant_admin = "본인이 속한 테넌트(조직/회사) 하위의 모든 앱을 관리할 수 있습니다."
|
||||||
|
desc_rp_admin = "본인에게 할당된 연동 앱(Client)만 확인 및 관리할 수 있습니다."
|
||||||
|
desc_user = "기본 앱 이용 권한을 가지며, DevFront 접근은 차단됩니다."
|
||||||
|
desc_tenant_member = "기본 앱 이용 권한을 가지며, DevFront 접근은 차단됩니다."
|
||||||
|
|||||||
@@ -1430,6 +1430,7 @@ title = ""
|
|||||||
id = ""
|
id = ""
|
||||||
name = ""
|
name = ""
|
||||||
email = ""
|
email = ""
|
||||||
|
phone = ""
|
||||||
|
|
||||||
[ui.dev.profile.org]
|
[ui.dev.profile.org]
|
||||||
title = ""
|
title = ""
|
||||||
@@ -1440,3 +1441,8 @@ company_code = ""
|
|||||||
title = ""
|
title = ""
|
||||||
description = ""
|
description = ""
|
||||||
current = ""
|
current = ""
|
||||||
|
desc_super_admin = ""
|
||||||
|
desc_tenant_admin = ""
|
||||||
|
desc_rp_admin = ""
|
||||||
|
desc_user = ""
|
||||||
|
desc_tenant_member = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user