Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[建议] 黑白名单及人机验证中添加or条件 #682

Open
skyhhjmk opened this issue Feb 19, 2024 · 2 comments
Open

[建议] 黑白名单及人机验证中添加or条件 #682

skyhhjmk opened this issue Feb 19, 2024 · 2 comments
Labels
enhancement New feature or request released

Comments

@skyhhjmk
Copy link

背景与遇到的问题

Clip_2024-02-19_22-13-00
目前依然可以实现or条件,即把多个规则分开部署,但这样及其不方便,特别是在自定义规则特别多的情况下(如多个IP在线订阅,要求匹配任意一个就block)

建议的解决方案

Clip_2024-02-19_22-15-20
此处增加一个选择器,可选择是and还是or

@DeronW
Copy link
Collaborator

DeronW commented Feb 20, 2024

在摊位 OR 条件会增加一些复杂度。通过添加多个 “规则”,可以实现相同的 OR 条件的效果。对于操作的复杂性,设计上现在还是保持克制的态度

@Lorna0 Lorna0 added the enhancement New feature or request label Feb 20, 2024
@Lorna0
Copy link
Collaborator

Lorna0 commented May 20, 2024

5.6 支持在单个匹配项内输入多个值,多个值之间为 “OR” 关系,很大程度上满足了该 issue 的需要:
image

如果有进一步的规则优化需要,可以再提个反馈。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

No branches or pull requests

3 participants