Skip to content

Commit

Permalink
No longer swallow permissions errors in the gateway (#1210)
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
  • Loading branch information
butonic authored Sep 30, 2020
1 parent a80c395 commit dc3edd8
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 140 deletions.
7 changes: 7 additions & 0 deletions changelog/unreleased/gateway-permissions-errors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Bugfix: No longer swallow permissions errors in the gateway

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.

https://github.com/cs3org/reva/pull/1210
Loading

0 comments on commit dc3edd8

Please sign in to comment.