Skip to content

Commit 34e0152

Browse files
committed
Voeg #[IsGranted] toe aan AccessControlEventListener
Hierbij krijgt deze ook een uitzondering
1 parent 81957f4 commit 34e0152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/events/AccessControlEventListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function onKernelController(ControllerEvent $event)
8787
$this->annotations->getMethodAnnotation(
8888
$reflectionMethod,
8989
IsGranted::class
90-
)
90+
) || !empty($reflectionMethod->getAttributes(IsGranted::class))
9191
) {
9292
return;
9393
}

0 commit comments

Comments
 (0)