Baoyuantop commented on code in PR #13929:
URL: https://github.com/apache/apisix/pull/13929#discussion_r4356411680
##########
docs/zh/latest/plugins/wolf-rbac.md:
##########
@@ -34,11 +34,12 @@ description: 本文介绍了关于 Apache APISIX `wolf-rbac` 插件的基本信
## 属性
-| 名称 | 类型 | 必选项 | 默认值 | 描述
|
-| ------------- | ------ | ------ | ------------------------ |
--------------------------------------------------------------------------------------------------------------------------------------------------
|
-| server | string | 否 | "http://127.0.0.1:12180" | `wolf-server`
的服务地址。
|
-| appid | string | 否 | "unset" | 在 `wolf-console`
中已经添加的应用 id。该字段支持使用 [APISIX Secret](../terminology/secret.md) 资源,将值保存在 Secret
Manager 中。 |
-| header_prefix | string | 否 | "X-" | 自定义 HTTP
头的前缀。`wolf-rbac` 在鉴权成功后,会在请求头 (用于传给后端) 及响应头 (用于传给前端) 中添加 3 个 header:`X-UserId`,
`X-Username`, `X-Nickname`。|
+| 名称 | 类型 | 必选项 | 默认值 | 描述 |
+| --- | --- | --- | --- | --- |
+| appid | string | 是 | 无 | Consumer 在 Wolf 中配置的应用 ID。该字段支持使用 [APISIX
Secret](../terminology/secret.md) 资源,将值保存在 Secret Manager 中。 |
+| server | string | 否 | "http://127.0.0.1:12180" | Route 或 Service 使用的 Wolf
服务地址。 |
+| header_prefix | string | 否 | "X-" | Route 或 Service 的身份 HTTP 头前缀。鉴权成功后添加
`{prefix}UserId`、`{prefix}Username` 和 `{prefix}Nickname`。 |
+| ssl_verify | boolean | 否 | false | 是否验证 Wolf 服务的 TLS 证书。在 Route 或 Service
上配置。 |
Review Comment:
Same as the EN Attributes note: please split Consumer vs Route/Service
fields into separate tables (or add a Scope column), and keep it consistent
with the English docs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]