You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "bzp2010 (via GitHub)" <gi...@apache.org> on 2023/07/11 03:14:28 UTC

[GitHub] [apisix] bzp2010 commented on issue #7467: feat:As a user, I don't think allowlist and denylist of ua-restriction can be enabled at the same time

bzp2010 commented on issue #7467:
URL: https://github.com/apache/apisix/issues/7467#issuecomment-1630039875

   I think it could go either way:
   
   - Follow some sort of prioritization, e.g., allowlist over denylist. Match requests against each rule in order, and when any of the rules are satisfied, stop matching and either reject or pass them
   - Use exclusion mode to allow only one type of allowlist or denylist to be configured
   
   The second is simpler and easier to understand. I'm not sure there is a need for the first way of this plugin.
   


-- 
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