Skip to content

Commit 14c5e00

Browse files
committed
Allow jury to access the export pages, such as printed clarifications.
1 parent 5b3413a commit 14c5e00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webapp/src/Controller/Jury/ImportExportController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
4646
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
4747

48-
#[IsGranted('ROLE_ADMIN')]
4948
#[Route(path: '/jury/import-export')]
49+
#[IsGranted('ROLE_JURY')]
5050
class ImportExportController extends BaseController
5151
{
5252
public function __construct(
@@ -70,6 +70,7 @@ public function __construct(
7070
* @throws TransportExceptionInterface
7171
*/
7272
#[Route(path: '', name: 'jury_import_export')]
73+
#[IsGranted('ROLE_ADMIN')]
7374
public function indexAction(Request $request): Response
7475
{
7576
$tsvForm = $this->createForm(TsvImportType::class);

0 commit comments

Comments
 (0)