forked from baron/baron-sso
adminfront: 글로벌 권한 부여 페이지(/permissions-direct) 내 네이버웍스 연동 메뉴를 Super Admin 전용으로 잠금 및 전용 배지 추가 반영 완료 (#1183)
This commit is contained in:
@@ -645,7 +645,8 @@ export function TenantFineGrainedPermissionsPage() {
|
|||||||
{menu.label}
|
{menu.label}
|
||||||
</span>
|
</span>
|
||||||
{(menu.relation === "ory_ssot" ||
|
{(menu.relation === "ory_ssot" ||
|
||||||
menu.relation === "data_integrity") && (
|
menu.relation === "data_integrity" ||
|
||||||
|
menu.relation === "worksmobile") && (
|
||||||
<Badge
|
<Badge
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
className="text-[10px] py-0.5 px-1.5 font-semibold text-destructive bg-destructive/10 border-destructive/20"
|
className="text-[10px] py-0.5 px-1.5 font-semibold text-destructive bg-destructive/10 border-destructive/20"
|
||||||
@@ -667,7 +668,8 @@ export function TenantFineGrainedPermissionsPage() {
|
|||||||
value={permissionValue}
|
value={permissionValue}
|
||||||
disabled={
|
disabled={
|
||||||
menu.relation === "ory_ssot" ||
|
menu.relation === "ory_ssot" ||
|
||||||
menu.relation === "data_integrity"
|
menu.relation === "data_integrity" ||
|
||||||
|
menu.relation === "worksmobile"
|
||||||
}
|
}
|
||||||
onChange={(e) => {
|
onChange={(e) => {
|
||||||
const nextVal = e.target.value as
|
const nextVal = e.target.value as
|
||||||
|
|||||||
Reference in New Issue
Block a user