From 4223a5bd9f008e60b5c4916f384b4a53a3202948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= Date: Wed, 3 Jan 2018 19:08:41 +0100 Subject: [PATCH] oprava testu role --- app/AdminModule/presenters/AclPresenter.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/AdminModule/presenters/AclPresenter.php b/app/AdminModule/presenters/AclPresenter.php index 7cfc28f3d..6e1bb109b 100644 --- a/app/AdminModule/presenters/AclPresenter.php +++ b/app/AdminModule/presenters/AclPresenter.php @@ -7,6 +7,7 @@ use App\AdminModule\Forms\EditRoleForm; use App\Model\ACL\Permission; use App\Model\ACL\Resource; +use App\Services\Authenticator; use Nette\Forms\Form; @@ -36,6 +37,12 @@ class AclPresenter extends AdminBasePresenter */ public $rolesGridControlFactory; + /** + * @var Authenticator + * @inject + */ + public $authenticator; + /** * @throws \Nette\Application\AbortException