Ensure users can access repositories when validating diffs

Review Request #1510 — Created Dec. 19, 2018 and updated — Latest diff uploaded

guest4459
Review Board
530ec8a...
ssss
The `ValidateDiffResource` was simply querying against all repositories,
instead of limiting the query to repositories the user has access to.
This issue has been rectified.

Testing Done:
Ran unit tests.

Reviewed at https://reviews.reviewboard.org/r/9919/


Loading...