function makeReviewerFileViewable()
 {
     $articleId = Request::getUserVar('articleId');
     list($journal, $submission) = SubmissionEditHandler::validate($articleId, SECTION_EDITOR_ACCESS_REVIEW);
     $reviewId = Request::getUserVar('reviewId');
     $fileId = Request::getUserVar('fileId');
     $revision = Request::getUserVar('revision');
     $viewable = Request::getUserVar('viewable');
     SectionEditorAction::makeReviewerFileViewable($articleId, $reviewId, $fileId, $revision, $viewable);
     Request::redirect(null, null, 'submissionReview', $articleId);
 }
 /**
  * Make a reviewer file viewable to the author.
  * @param $args array
  * @param $request PKPRequest
  */
 function makeReviewerFileViewable($args, &$request)
 {
     $articleId = $request->getUserVar('articleId');
     $this->validate($articleId, SECTION_EDITOR_ACCESS_REVIEW);
     $submission =& $this->submission;
     $reviewId = $request->getUserVar('reviewId');
     $fileId = $request->getUserVar('fileId');
     $revision = $request->getUserVar('revision');
     $viewable = $request->getUserVar('viewable');
     SectionEditorAction::makeReviewerFileViewable($articleId, $reviewId, $fileId, $revision, $viewable);
     $request->redirect(null, null, 'submissionReview', $articleId);
 }