Skip to content

fix(wolf-rbac): Return the error code returned by the wolf server#7561

Merged
spacewander merged 3 commits into
apache:masterfrom
iGeeky:master
Jul 29, 2022
Merged

fix(wolf-rbac): Return the error code returned by the wolf server#7561
spacewander merged 3 commits into
apache:masterfrom
iGeeky:master

Conversation

@iGeeky

@iGeeky iGeeky commented Jul 28, 2022

Copy link
Copy Markdown
Contributor

Description

Sorry, there were some issue with the last PR. This PR will fix the problem of error code return.
When wolf-rbac checks the permissions, if the wolf server returns an error, it will return the original error code to the client as is.

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@spacewander
spacewander merged commit e14cfd3 into apache:master Jul 29, 2022
Liu-Junlin pushed a commit to Liu-Junlin/apisix that referenced this pull request Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants