-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDP-1215] Fix the
AnyRoleMiddleware
so it returns 403 (instead of …
…401) when the user role doesn't have the required role (#295) ### What Fix the `AnyRoleMiddleware` so it returns 403 (instead of 401) when the user role doesn't have the required role. How it's being handled: ![Screenshot 2024-05-20 at 5 16 28 PM](https://github.com/stellar/stellar-disbursement-platform-backend/assets/1952597/eee0af3e-6265-4cd2-9e39-dec712b82e7d) ### Why Addresses https://stellarorg.atlassian.net/browse/SDP-1215.
- Loading branch information
1 parent
c61d2ae
commit 2e984e4
Showing
3 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters