File tree Expand file tree Collapse file tree 3 files changed +4
-43
lines changed
Resources/config/services Expand file tree Collapse file tree 3 files changed +4
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ services:
1010 tags :
1111 - { name: kernel.event_subscriber }
1212
13- Ibexa\Bundle\AdminUi\EventSubscriber\PerformAccessCheckSubscriber :
14- tags :
15- - { name: kernel.event_subscriber }
16-
1713 Ibexa\AdminUi\EventListener\RequestListener :
1814 arguments :
1915 - ' %ibexa.site_access.groups_by_site_access%'
Original file line number Diff line number Diff line change 99namespace Ibexa \Contracts \AdminUi \Controller ;
1010
1111use Ibexa \Contracts \Core \Repository \Values \Content \Location ;
12+ use Ibexa \Contracts \User \Controller \AuthenticatedRememberedCheckTrait ;
13+ use Ibexa \Contracts \User \Controller \RestrictedControllerInterface ;
1214use Symfony \Bundle \FrameworkBundle \Controller \AbstractController ;
1315use Symfony \Component \HttpFoundation \RedirectResponse ;
1416
15- abstract class Controller extends AbstractController
17+ abstract class Controller extends AbstractController implements RestrictedControllerInterface
1618{
17- public function performAccessCheck (): void
18- {
19- $ this ->denyAccessUnlessGranted ('IS_AUTHENTICATED_REMEMBERED ' );
20- }
19+ use AuthenticatedRememberedCheckTrait;
2120
2221 public function redirectToLocation (Location $ location , string $ uriFragment = '' ): RedirectResponse
2322 {
You can’t perform that action at this time.
0 commit comments