We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3413a commit 14c5e00Copy full SHA for 14c5e00
webapp/src/Controller/Jury/ImportExportController.php
@@ -45,8 +45,8 @@
45
use Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface;
46
use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface;
47
48
-#[IsGranted('ROLE_ADMIN')]
49
#[Route(path: '/jury/import-export')]
+#[IsGranted('ROLE_JURY')]
50
class ImportExportController extends BaseController
51
{
52
public function __construct(
@@ -70,6 +70,7 @@ public function __construct(
70
* @throws TransportExceptionInterface
71
*/
72
#[Route(path: '', name: 'jury_import_export')]
73
+ #[IsGranted('ROLE_ADMIN')]
74
public function indexAction(Request $request): Response
75
76
$tsvForm = $this->createForm(TsvImportType::class);
0 commit comments