[bug] Fix request-filtering-agent schema; Fix bug 77095

This commit is contained in:
Sergey Konovalov
2025-10-08 00:22:17 +03:00
parent 3620953972
commit fe9c5fc9d9
2 changed files with 17 additions and 17 deletions

View File

@ -23,8 +23,8 @@ function RequestFiltering() {
// Configuration paths
const CONFIG_PATHS = {
allowPrivateIPAddress: 'request-filtering-agent.allowPrivateIPAddress',
allowMetaIPAddress: 'request-filtering-agent.allowMetaIPAddress'
allowPrivateIPAddress: 'services.CoAuthoring.request-filtering-agent.allowPrivateIPAddress',
allowMetaIPAddress: 'services.CoAuthoring.request-filtering-agent.allowMetaIPAddress'
};
const hasInitialized = useRef(false);

View File

@ -87,6 +87,21 @@
"sessionabsolute": {"type": "string", "x-scope": ["admin", "tenant"]}
}
},
"request-filtering-agent": {
"type": "object",
"additionalProperties": false,
"x-scope": ["admin", "tenant"],
"properties": {
"allowPrivateIPAddress": {
"type": "boolean",
"description": "Whether to allow requests from private IP addresses"
},
"allowMetaIPAddress": {
"type": "boolean",
"description": "Whether to allow requests from meta IP addresses"
}
}
},
"autoAssembly": {
"type": "object",
"additionalProperties": false,
@ -165,21 +180,6 @@
}
}
},
"request-filtering-agent": {
"type": "object",
"additionalProperties": false,
"x-scope": ["admin", "tenant"],
"properties": {
"allowPrivateIPAddress": {
"type": "boolean",
"description": "Whether to allow requests from private IP addresses"
},
"allowMetaIPAddress": {
"type": "boolean",
"description": "Whether to allow requests from meta IP addresses"
}
}
},
"FileConverter": {
"type": "object",
"additionalProperties": false,