apisix-dashboard icon indicating copy to clipboard operation
apisix-dashboard copied to clipboard

bug: dashboard2.0 ip-restriction plugin set blacklist, can not set ipv4 or ipv4/CIDR

Open idbeta opened this issue 6 years ago • 4 comments

  • Why do you submit this issue?
  • [ ] Question or discussion
  • [x] Bug
  • [ ] Requirements
  • [ ] Feature or performance improvement
  • [ ] Other

dashboard2.0 ip-restriction plugin set blacklist, can not set ipv4 or ipv4/CIDR, whitelist doesn't have this problem. image

idbeta avatar Nov 10 '20 04:11 idbeta

This issue is related to https://github.com/apache/apisix/pull/2091 this PR, we need to check its scheme again. If we could build schema which is working on both apisix and the dashboard, then we will update its schema in APISIX, or we have to fix it in the dashboard. Let me check this.

juzhiyuan avatar Nov 11 '20 06:11 juzhiyuan

I have checked the schema of APISIX, can't reproduce this issue.

spacewander avatar Nov 12 '20 01:11 spacewander

This schema works in many ways, but it's not compatible with the react-jsonschema-form dependency now, we will try to reactor the schema first as usual.

Only when we couldn't build the schema which can't work with that dependency, we will have to solve it on the frontend.

juzhiyuan avatar Nov 12 '20 05:11 juzhiyuan

So just pending and need some time on checking if there has a working scheme.

juzhiyuan avatar Nov 12 '20 05:11 juzhiyuan