leaderboardsgg / leaderboard-backend

The backend for Leaderboards.gg. Also holds public-facing APIs.
https://info.leaderboards.gg
GNU General Public License v3.0
12 stars 16 forks source link

Task: Update User Type Policy Authorisation Result #97

Closed zysim closed 1 year ago

zysim commented 2 years ago

TL;DR: don't just return 404s for everything.

Currently in MiddlewareResultHandler.cs, we simply return 404s for any fail case. We should revise this to pass the correct authz result through to the controllers.

Affected Functionality