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