PhilanthropyDataCommons / service

A project for collecting and serving public information associated with grant applications
GNU Affero General Public License v3.0
8 stars 2 forks source link

Recognize admin authority when selecting individual proposals #954

Closed slifty closed 4 months ago

slifty commented 4 months ago

This PR fixes a bug where an admin couldn't access proposal data they didn't own when loading individual proposals

Resolves #951

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 83.33333% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.22%. Comparing base (8e0ff89) to head (9f88058).

Files Patch % Lines
src/handlers/proposalsHandlers.ts 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #954 +/- ## ======================================= Coverage 88.21% 88.22% ======================================= Files 123 123 Lines 1706 1707 +1 Branches 210 205 -5 ======================================= + Hits 1505 1506 +1 Misses 201 201 ```

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