Split up _find_review_request to retrieve the ReviewRequest object, then check permissions.
Review Request #5603 — Created March 9, 2014 and submitted
_find_review_requestretrieves the ReviewRequest object matching an
ID and checks permissions, returning
Noneif the review request is not
accessible by the user. Splitting this up into two parts (retrieve the
ReviewRequest object first, then check for permissions) allows us to get a
ReviewRequest object in cases where permissions are not needed.
- Manually checked that the review request details page shows up.
- Ran unit tests.