Skip to content
Permalink
Browse files

4. Limit access to the index controller using an ACL

  • Loading branch information...
Andresa Martins
Andresa Martins committed Mar 8, 2019
1 parent a9f2c13 commit 8d2bf4ec68ce3c6f0c3c319211a910a293a1c170
Showing with 5 additions and 0 deletions.
  1. +5 −0 Acl/Controller/Adminhtml/Index/Index.php
@@ -23,4 +23,9 @@ public function execute()
$resultPage = $this->resultPageFactory->create();
return $resultPage;
}
protected function _isAllowed()
{
return $this->_authorization->isAllowed('Examples_Acl::examplechild');
}
}

0 comments on commit 8d2bf4e

Please sign in to comment.
You can’t perform that action at this time.