Skip to content

Commit

Permalink
Add controller ACL.
Browse files Browse the repository at this point in the history
  • Loading branch information
igorppbr committed Sep 10, 2017
1 parent d82fe18 commit 4b6fe20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Controller/Adminhtml/WarmCache/Run.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ public function execute()
return $resultRedirect;
}

protected function _isAllowed()
{
return $this->_authorization->isAllowed('Igorludgero_Warmcache::settings');
}

}

0 comments on commit 4b6fe20

Please sign in to comment.