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

No longer swallow permissions errors in the gateway #1210

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Sep 30, 2020

The gateway is no longer ignoring permissions errors.
It will now check the status for rpc.Code_CODE_PERMISSION_DENIED codes
and report them properly using status.NewPermissionDenied or status.NewInternal instead of reusing the original response status.

@butonic butonic requested a review from labkode as a code owner September 30, 2020 14:15
@butonic butonic requested a review from ishank011 September 30, 2020 14:15
@labkode labkode merged commit dc3edd8 into cs3org:master Sep 30, 2020
@butonic butonic deleted the gateway-permissions-errors branch October 1, 2020 07:25
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.

2 participants