Commit 9290e19d authored by Stéphane Bouvry's avatar Stéphane Bouvry
Browse files

FIX : Le privilèges 'Voir les notifications plannifiées' fonctionne correctement

parent bb7417ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -719,7 +719,7 @@ class ProjectGrantController extends AbstractOscarController
        $entity = $this->getActivityFromRoute();

        // Check access
        $this->getOscarUserContext()->check(Privileges::MAINTENANCE_MENU_ADMIN);
        $this->getOscarUserContext()->check(Privileges::ACTIVITY_NOTIFICATIONS_SHOW, $entity);

        /** @var NotificationService $notificationService */
        $notificationService = $this->getServiceLocator()->get('NotificationService');