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

do not swallow permissions errors in ocdav #1207

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Sep 30, 2020

The ocdav api is no longer ignoring permissions errors.
It will now check the status for rpc.Code_CODE_PERMISSION_DENIED codes and report them properly using http.StatusForbidden instead of http.StatusInternalServerError

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic requested a review from labkode as a code owner September 30, 2020 11:39
@ishank011 ishank011 merged commit 7ccd528 into cs3org:master Sep 30, 2020
@butonic butonic deleted the ocdav-permissions-errors branch September 30, 2020 12:55
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