SylviaBABY commented on code in PR #6895:
URL: https://github.com/apache/apisix/pull/6895#discussion_r854938325


##########
docs/zh/latest/plugins/wolf-rbac.md:
##########
@@ -23,43 +29,43 @@ title: wolf-rbac
 
 ## 描述
 
-`wolf-rbac` 是一个认证及授权 (rbac) 插件,它需要与 `consumer` 一起配合才能工作。同时需要添加 `wolf-rbac` 到一个 
`service` 或 `route` 中。
-rbac 功能由 [wolf](https://github.com/iGeeky/wolf) 提供,有关 `wolf` 的更多信息,请参考 [wolf 
文档](https://github.com/iGeeky/wolf)。
+`wolf-rbac` 插件为 [role-based access 
control](https://en.wikipedia.org/wiki/Role-based_access_control) 系统提供了添加 
[wolf](https://github.com/iGeeky/wolf) 到 Route 或 Service 的功能。此插件需要与 
[Consumer](../terminology/consumer.md) 一起使用。
 
 ## 属性

Review Comment:
   ```suggestion
   ## 属性及接口
   ```



##########
docs/zh/latest/plugins/wolf-rbac.md:
##########
@@ -23,43 +29,43 @@ title: wolf-rbac
 
 ## 描述
 
-`wolf-rbac` 是一个认证及授权 (rbac) 插件,它需要与 `consumer` 一起配合才能工作。同时需要添加 `wolf-rbac` 到一个 
`service` 或 `route` 中。
-rbac 功能由 [wolf](https://github.com/iGeeky/wolf) 提供,有关 `wolf` 的更多信息,请参考 [wolf 
文档](https://github.com/iGeeky/wolf)。
+`wolf-rbac` 插件为 [role-based access 
control](https://en.wikipedia.org/wiki/Role-based_access_control) 系统提供了添加 
[wolf](https://github.com/iGeeky/wolf) 到 Route 或 Service 的功能。此插件需要与 
[Consumer](../terminology/consumer.md) 一起使用。
 
 ## 属性
 
-| 名称          | 类型   | 必选项 | 默认值                   | 有效值 | 描述                  
                                                                                
                                             |
-| ------------- | ------ | ------ | ------------------------ | ------ | 
--------------------------------------------------------------------------------------------------------------------------------------------------
 |
-| server        | string | 可选   | "http://127.0.0.1:12180"; |        | 设置 
`wolf-server` 的访问地址                                                             
                                                         |
-| appid         | string | 可选   | "unset"                  |        | 设置应用 
id,该应用 id,需要是在 `wolf-console` 中已经添加的应用 id                                       
                                         |
-| header_prefix | string | 可选   | "X-"                     |        | 自定义 http 
头的前缀。`wolf-rbac`在鉴权成功后,会在请求头 (用于传给后端) 及响应头 (用于传给前端) 中添加 3 个头:`X-UserId`, 
`X-Username`, `X-Nickname` |
+| 名称          | 类型   | 必选项  | 默认值                    | 描述                      
                                                                                
                                         |
+| ------------- | ------ | ------ | ------------------------ | 
--------------------------------------------------------------------------------------------------------------------------------------------------
 |
+| server        | string | 否     | "http://127.0.0.1:12180"; |  `wolf-server` 
的服务地址。                                                                          
                                                |
+| appid         | string | 否     | "unset"                  | 在 `wolf-console` 
中已经添加的应用 id。                                                                    
                                           |
+| header_prefix | string | 否     | "X-"                     | 自定义 HTTP 
头的前缀。`wolf-rbac` 在鉴权成功后,会在请求头 (用于传给后端) 及响应头 (用于传给前端) 中添加 3 个 header:`X-UserId`, 
`X-Username`, `X-Nickname`。|
 
 ## 接口

Review Comment:
   ```suggestion
   
   ```



-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to