forked from baron/baron-sso
lint 수정
This commit is contained in:
@@ -270,8 +270,7 @@ function AppLayout() {
|
|||||||
if (item.to === "/permissions-direct") return false;
|
if (item.to === "/permissions-direct") return false;
|
||||||
if (item.to === "/tenants") return permissions.tenants;
|
if (item.to === "/tenants") return permissions.tenants;
|
||||||
if (item.to === orgfrontUrl) return permissions.org_chart;
|
if (item.to === orgfrontUrl) return permissions.org_chart;
|
||||||
if (item.to === "/worksmobile")
|
if (item.to === "/worksmobile") return permissions.worksmobile;
|
||||||
return permissions.worksmobile;
|
|
||||||
if (item.to === "/system/ory-ssot") return permissions.ory_ssot;
|
if (item.to === "/system/ory-ssot") return permissions.ory_ssot;
|
||||||
if (item.to === "/system/data-integrity")
|
if (item.to === "/system/data-integrity")
|
||||||
return permissions.data_integrity;
|
return permissions.data_integrity;
|
||||||
|
|||||||
@@ -646,7 +646,8 @@ export function TenantFineGrainedPermissionsPage() {
|
|||||||
</span>
|
</span>
|
||||||
{(menu.relation === "ory_ssot" ||
|
{(menu.relation === "ory_ssot" ||
|
||||||
menu.relation === "data_integrity" ||
|
menu.relation === "data_integrity" ||
|
||||||
menu.relation === "permissions_direct") && (
|
menu.relation ===
|
||||||
|
"permissions_direct") && (
|
||||||
<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"
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
package handler
|
package handler
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"baron-sso-backend/internal/domain"
|
||||||
|
"baron-sso-backend/internal/utils"
|
||||||
"context"
|
"context"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"baron-sso-backend/internal/domain"
|
|
||||||
"baron-sso-backend/internal/utils"
|
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -368,6 +368,7 @@ tree_hint = "Review parent-child relationships and subtree coverage in the hiera
|
|||||||
[msg.admin.tenants.relations]
|
[msg.admin.tenants.relations]
|
||||||
empty = "There are no users with designated fine-grained permissions. Please add a user to configure."
|
empty = "There are no users with designated fine-grained permissions. Please add a user to configure."
|
||||||
remove_all_confirm = "Remove All Confirm"
|
remove_all_confirm = "Remove All Confirm"
|
||||||
|
super_admin_only_desc = "The permission settings on this screen can only be modified by the system administrator (super_admin)."
|
||||||
subtitle = "Isolate and assign fine-grained view and edit permissions for each tab on a per-user basis. Parent inherited permissions are automatically preserved."
|
subtitle = "Isolate and assign fine-grained view and edit permissions for each tab on a per-user basis. Parent inherited permissions are automatically preserved."
|
||||||
update_success = "Update Success"
|
update_success = "Update Success"
|
||||||
|
|
||||||
|
|||||||
@@ -368,6 +368,7 @@ tree_hint = "계층 구조를 따라 부모-자식 관계와 하위 범위를
|
|||||||
[msg.admin.tenants.relations]
|
[msg.admin.tenants.relations]
|
||||||
empty = "세부 권한이 지정된 사용자가 없습니다. 사용자를 추가해 설정하세요."
|
empty = "세부 권한이 지정된 사용자가 없습니다. 사용자를 추가해 설정하세요."
|
||||||
remove_all_confirm = "이 사용자의 모든 세부 권한을 삭제하시겠습니까?"
|
remove_all_confirm = "이 사용자의 모든 세부 권한을 삭제하시겠습니까?"
|
||||||
|
super_admin_only_desc = "이 화면의 권한 설정은 시스템 최고 관리자(super_admin)만 수정할 수 있습니다."
|
||||||
subtitle = "사용자별로 각 탭의 세부 조회 및 수정 권한을 격리하여 할당합니다. 상위 상속 권한은 자동으로 보존됩니다."
|
subtitle = "사용자별로 각 탭의 세부 조회 및 수정 권한을 격리하여 할당합니다. 상위 상속 권한은 자동으로 보존됩니다."
|
||||||
update_success = "세부 권한이 성공적으로 변경되었습니다."
|
update_success = "세부 권한이 성공적으로 변경되었습니다."
|
||||||
|
|
||||||
|
|||||||
@@ -368,6 +368,7 @@ tree_hint = ""
|
|||||||
[msg.admin.tenants.relations]
|
[msg.admin.tenants.relations]
|
||||||
empty = ""
|
empty = ""
|
||||||
remove_all_confirm = ""
|
remove_all_confirm = ""
|
||||||
|
super_admin_only_desc = ""
|
||||||
subtitle = ""
|
subtitle = ""
|
||||||
update_success = ""
|
update_success = ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user