fix(awooop): 移除 tenants public api 內部控制鍵
This commit is contained in:
@@ -11858,13 +11858,22 @@ def validate(root: Path) -> None:
|
||||
for text in [
|
||||
"source_scope_id",
|
||||
"source_namespace_redacted",
|
||||
"只讀資產台帳;不修改租戶、路由、主機或專案庫。",
|
||||
"公開回應只顯示產品代號、範圍代號與繁中管控狀態",
|
||||
"執行期閘門維持關閉",
|
||||
]:
|
||||
assert_text_contains("platform_operator_service.source_namespace_redaction", platform_operator_service, text)
|
||||
for text in [
|
||||
"repo_owner_namespace_redacted=true",
|
||||
"raw_repository_namespace_visible=false",
|
||||
"public_api_raw_repo_namespace_allowed=false",
|
||||
"public_product_identity_redacted=true",
|
||||
"read_only_inventory_only=true",
|
||||
"runtime_execution_authorized=false",
|
||||
"action_buttons_allowed=false",
|
||||
"public_api_raw_project_slug_allowed=false",
|
||||
]:
|
||||
assert_text_contains("platform_operator_service.source_namespace_redaction", platform_operator_service, text)
|
||||
assert_text_not_contains("platform_operator_service.raw_boundary_key_leak", platform_operator_service, text)
|
||||
for text in ["source_scope_id", "source_namespace_redacted"]:
|
||||
assert_text_contains("tenants_api_contract.source_namespace_redaction", tenants_api_contract, text)
|
||||
tenant_global_assets_messages_zh = json.dumps(
|
||||
|
||||
Reference in New Issue
Block a user