You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/04/26 12:01:27 UTC

[GitHub] [apisix] yzeng25 commented on a diff in pull request #6911: docs: update "Security" docs

yzeng25 commented on code in PR #6911:
URL: https://github.com/apache/apisix/pull/6911#discussion_r858623219


##########
docs/en/latest/plugins/consumer-restriction.md:
##########
@@ -23,29 +29,36 @@ title: consumer-restriction
 
 ## Description
 
-The `consumer-restriction` makes corresponding access restrictions based on different objects selected.
+The `consumer-restriction` Plugin allows to set access restrictions based on Consumer, Route, or Service.

Review Comment:
   ```suggestion
   The `consumer-restriction` Plugin allows users to set access restrictions based on Consumer, Route, or Service.
   ```



##########
docs/en/latest/plugins/referer-restriction.md:
##########
@@ -23,24 +29,27 @@ title: referer-restriction
 
 ## Description
 
-The `referer-restriction` can restrict access to a Service or a Route by
-whitelisting/blacklisting request header Referrers.
+The `referer-restriction` Plugin can be used to restrict access to a Service or a Route by
+whitelisting/blacklisting the `Referer` request header.

Review Comment:
   Can you convert it to one line?



-- 
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-unsubscribe@apisix.apache.org

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