1
0
forked from baron/baron-sso

custom claim 권한체크 확인

This commit is contained in:
2026-06-11 08:29:25 +09:00
parent 839ca9d407
commit 4d77060b5d
79 changed files with 4268 additions and 670 deletions

View File

@@ -106,6 +106,7 @@ import {
type TenantImportResolution,
} from "../utils/tenantCsvImport";
import {
filterTenantViewRowsBySearch,
filterTenantsByScope,
getTenantSearchMatchIds,
getTenantViewRows,
@@ -1664,11 +1665,12 @@ const TenantHierarchyView: React.FC<{
const flattenedRows = React.useMemo(() => {
if (viewMode === "table") {
return sortItems(
const rows = sortItems(
getTenantViewRows(tenants, "table", scopeTenantId, !!search),
sortConfig,
tenantSortResolvers,
);
return filterTenantViewRowsBySearch(rows, search);
}
const result: TenantViewRow[] = [];
@@ -1689,7 +1691,7 @@ const TenantHierarchyView: React.FC<{
}
};
collect(subTree, 0);
return result;
return filterTenantViewRowsBySearch(result, search);
}, [
expandedIds,
scopeTenantId,