forked from baron/baron-sso
adminfront: 권한 부여 매트릭스 상의 Ory SSOT 및 데이터 정합성 메뉴 옆에 'Super Admin 전용' 시각적 뱃지 추가 완료
This commit is contained in:
@@ -457,7 +457,14 @@ export function TenantFineGrainedPermissionsPage() {
|
||||
<Icon className="h-4 w-4 text-muted-foreground" />
|
||||
</div>
|
||||
<div className="flex flex-col min-w-0">
|
||||
<span className="text-sm font-semibold text-foreground">{menu.label}</span>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm font-semibold text-foreground">{menu.label}</span>
|
||||
{(menu.relation === "ory_ssot" || menu.relation === "data_integrity") && (
|
||||
<Badge variant="secondary" className="text-[10px] py-0.5 px-1.5 font-semibold text-destructive bg-destructive/10 border-destructive/20">
|
||||
{t("ui.admin.permissions_direct.super_admin_only", "Super Admin 전용")}
|
||||
</Badge>
|
||||
)}
|
||||
</div>
|
||||
<span className="text-xs text-muted-foreground line-clamp-1">
|
||||
{menu.desc}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user