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

Smart proxy doesn't pass status code from proxied services #31

Closed
quarckster opened this issue Jun 11, 2020 · 0 comments · Fixed by #32
Closed

Smart proxy doesn't pass status code from proxied services #31

quarckster opened this issue Jun 11, 2020 · 0 comments · Fixed by #32
Assignees
Labels
bug Something isn't working

Comments

@quarckster
Copy link

quarckster commented Jun 11, 2020

Steps to reproduce:

  1. Enable authentication.
  2. Perform a request to /organizations/{orgId}/clusters or /report/{orgId}/{clusterId} where {orgId} doesn't belong to a user that sent the request.

Actual result:
Status code is 200

Expected result:
Status code is 403

@quarckster quarckster added the bug Something isn't working label Jun 11, 2020
@joselsegura joselsegura self-assigned this Jun 11, 2020
joselsegura added a commit that referenced this issue Jun 11, 2020
Fix #31. Proxy function always send OK status instead of the response value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants