public function newArticleAction() { $journal = $this->get('ojs.journal_service')->getSelectedJournal(); if (!$this->isGranted('CREATE', $journal, 'articles')) { throw new AccessDeniedException(); } return $this->createForm(new ArticleType(), null, ['csrf_protection' => false, 'journal' => $journal]); }