Please answer these questions before submitting your issue.
Question
- What do you want to know?
Bug
-
Which version of Apache APISIX Dashboard, OS, and Browser?
the latest master
-
What happened?
If possible, provide a way to reproduce the error.
-
create a consumer: user1 with 123456
-
create a route: route1, enabled basic-auth plugin with user1 123456, then the route can only be visited by the user1
-
delete consumer user1, it can be deleted successfully, and then visit the route1, it return a error: Missing related consumer
Requirement or improvement
- Please describe your requirements or improvement suggestions.
[expect]
a already related to route basic-auth consumer should not be deleted.
Please answer these questions before submitting your issue.
Question
Bug
Which version of Apache APISIX Dashboard, OS, and Browser?
the latest master
What happened?
If possible, provide a way to reproduce the error.
create a consumer: user1 with 123456
create a route: route1, enabled basic-auth plugin with user1 123456, then the route can only be visited by the user1
delete consumer user1, it can be deleted successfully, and then visit the route1, it return a error:
Missing related consumerRequirement or improvement
[expect]
a already related to route basic-auth consumer should not be deleted.