addRoleAssignment(array(ROLE_ID_AUTHOR), array('fetch', 'saveForm')); } // // Implement template methods from PKPHandler. // /** * @copydoc PKPHandler::authorize() */ function authorize($request, &$args, $roleAssignments) { import('lib.pkp.classes.security.authorization.SubmissionAccessPolicy'); $this->addPolicy(new SubmissionAccessPolicy($request, $args, $roleAssignments)); return parent::authorize($request, $args, $roleAssignments); } /** * Get an instance of the metadata form to be used by this handler. * @param $submissionId int * @return Form */ function getFormInstance($submissionId, $stageId = null, $params = null) { import('controllers.modals.submissionMetadata.form.IssueEntrySubmissionReviewForm'); return new IssueEntrySubmissionReviewForm($submissionId, $stageId, $params); } } ?>