fix: skip domain authorization check for internal system tenant
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m36s

This commit is contained in:
jade
2026-08-10 15:58:23 +09:00
parent 568b6e1d63
commit 2712993286

View File

@@ -81,7 +81,7 @@ public class ToolPlanner {
}
// 2-1. [신규] 도메인 그룹핑 기반 권한 검증
if (tenantId != null && toolMetadata.getCategoryKey() != null) {
if (tenantId != null && !tenantId.equalsIgnoreCase("system") && toolMetadata.getCategoryKey() != null) {
String normalizedTenantId = tenantId.toLowerCase();
List<String> allowedDomains = securityProperties.getTenantDomains().get(normalizedTenantId);