fix: skip domain authorization check for internal system tenant
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m36s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m36s
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user