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

consumerRestriction: add method support #253

Closed
spacewander opened this issue Jan 26, 2024 · 1 comment · Fixed by #598
Closed

consumerRestriction: add method support #253

spacewander opened this issue Jan 26, 2024 · 1 comment · Fixed by #598
Assignees
Labels
good first issue Good for newcomers

Comments

@spacewander
Copy link
Member

Description

See

string name = 1 [(validate.rules).string = {min_len: 1}];
// we can put other fields like methods here
}

It would be better to add a feature to limit the consumer according to the method. Like https://apisix.apache.org/docs/apisix/plugins/consumer-restriction/#restricting-by-allowed_by_methods

Use Scenes

No response

Advice

No response

@spacewander spacewander added the good first issue Good for newcomers label Jan 26, 2024
@hanxiantao
Copy link
Contributor

plz assign this issue to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants