1
0
forked from baron/baron-sso

분리된 tenant 스코프 제어 정책 적용

This commit is contained in:
2026-06-11 14:25:03 +09:00
parent 22afe6654e
commit d480a01857
2 changed files with 112 additions and 12 deletions

View File

@@ -689,11 +689,18 @@ function ClientGeneralPage() {
if (scope.name.trim() !== "tenant") {
return scope;
}
if (restricted) {
return {
...scope,
description: scope.description || tenantScopeDescription,
mandatory: true,
locked: true,
};
}
return {
...scope,
description: scope.description || tenantScopeDescription,
mandatory: restricted,
locked: restricted,
locked: false,
};
});