fix(kb): 不再按控制台传输形态拦截 API Key

- 删除 KBBindingSnapshot 的 secret_entry_allowed 能力位与服务端 catalog/save 的 KB 传输门禁
- 非 HTTPS 控制台保留明文传输提示,但不再阻断 Key 录入
- 保留 QA AI 严格 HTTPS/回环校验、管理员认证、写意图头与 Key 不回显
- 补齐明文 HTTP 页面与服务端写入回归测试,同步运行手册和 CHANGELOG
This commit is contained in:
Zhero & Miku
2026-11-25 10:47:53 +08:00
committed by 姚章浩
parent 7926c8e8b9
commit 32c7074f41
14 changed files with 131 additions and 322 deletions
+2 -2
View File
@@ -142,8 +142,8 @@ type Config struct {
// internal/external bindings saved together. Nil keeps the page read-only
// and reports unavailable, never a fake success.
KBBindings KBBindingStore
// WeKnoraAllowPrivateHTTP 允许在私网治理台(明文 http)上录入 WeKnora API Key;
// 同时决定客户端/探活是否放行同网段 http(生产 18093 反代)。
// WeKnoraAllowPrivateHTTP 决定客户端/探活是否放行同网段 http(生产 18093 反代);
// 不再参与控制台密钥录入判定。
WeKnoraAllowPrivateHTTP bool
// ProductionBindings is the 源库 → 目标库 mapping store; ProductionKnowledgeBases
// enumerates the production-side bases the operator can bind.