stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
80 stars 52 forks source link

Fix submitter list not being accessible to Moderators #94

Closed ArkaneOnline closed 7 months ago

ArkaneOnline commented 9 months ago

On the submitters page, Moderators are able to view submitters with an exact ID, but they cannot view the list of submitters in the sidebar on the left. This PR should fix that issue. I’m not sure if there’s a particular reason that the permissions are like this, but it doesn’t make sense to me so I’m opening up a PR to fix this if this is unintended.

codecov[bot] commented 9 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (aee50b6) 18.97% compared to head (a226859) 19.02%.

Files Patch % Lines
...ntercrate-demonlist-api/src/endpoints/submitter.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #94 +/- ## ========================================== + Coverage 18.97% 19.02% +0.04% ========================================== Files 110 110 Lines 8310 8310 ========================================== + Hits 1577 1581 +4 + Misses 6733 6729 -4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.