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

uri-blocker works on consumers #7343

Closed
caster-Q opened this issue Jun 28, 2022 · 10 comments
Closed

uri-blocker works on consumers #7343

caster-Q opened this issue Jun 28, 2022 · 10 comments
Labels

Comments

@caster-Q
Copy link

caster-Q commented Jun 28, 2022

测试了一下,目前貌似uri-blocker仅支持配置在route上,配置在consumer上是无效的。
请问能否像limit-req插件那样,让uri-blocker可以作用在consumer层面,已达到不同的consumers可以访问不同URL的限制

@tokers
Copy link
Contributor

tokers commented Jun 28, 2022

@caster-Q It looks like you can use the consumer-constriction plugin.

@caster-Q
Copy link
Author

consumer-constriction 只能控制哪些consumer能不能访问route,不能控制具体哪些url;
我的问题是uri-blocker能否向limit-req插件一样作用于某个consumer上,而不是只能作用在route上

@caster-Q
Copy link
Author

@tokers

@tokers
Copy link
Contributor

tokers commented Jun 29, 2022

Currently nope.

@tzssangglass
Copy link
Member

目前貌似uri-blocker仅支持配置在route上,配置在consumer上是无效的

What version are you using?
After this PR #6502 is merged, it should fix the problem.

@caster-Q
Copy link
Author

thanks

@caster-Q
Copy link
Author

目前貌似uri-blocker仅支持配置在route上,配置在consumer上是无效的

What version are you using? After this PR #6502 is merged, it should fix the problem.

uri-blocker is not auth type,it not fix

@tzssangglass
Copy link
Member

uri-blocker is not auth type,it not fix

Please use the latest version of APISIX and give the steps to reproduce it

@github-actions
Copy link

This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jun 15, 2023
@github-actions
Copy link

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants