From de568370c1f980ba947d1f7fc03e1e1f80ef5f9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20DECOOL?= Date: Wed, 15 Mar 2023 22:44:35 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20du=20droit=20d'affichage=20de=20la?= =?UTF-8?q?=20carte=20'Abonnements=20=C3=A0=20la=20veille'=20sur=20la=20pa?= =?UTF-8?q?ge=20d'accueil?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/AppBundle/Controller/Admin/HomeAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/AppBundle/Controller/Admin/HomeAction.php b/sources/AppBundle/Controller/Admin/HomeAction.php index 7f0290463..186cb3802 100644 --- a/sources/AppBundle/Controller/Admin/HomeAction.php +++ b/sources/AppBundle/Controller/Admin/HomeAction.php @@ -89,7 +89,7 @@ public function __invoke() } } - if ($this->security->isGranted(('ROLE_VEILLE'))) { + if ($this->security->isGranted(('ROLE_ADMIN'))) { $cards[] = [ 'title' => 'Abonnements à la veille', 'statistics' => ['Abonnements' => $this->techletterSubscriptionsRepository->countAllSubscriptionsWithUser()],