Skip to content

bug: a related to route basic-auth consumer should not be deleted #466

Description

@liuxiran

Please answer these questions before submitting your issue.

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

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.

  1. create a consumer: user1 with 123456

  2. create a route: route1, enabled basic-auth plugin with user1 123456, then the route can only be visited by the user1

  3. 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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions