Testing/CI/ACL
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MageSail\Magesail\Controller\Adminhtml\Tunnel;
|
||||
@@ -33,6 +34,8 @@ class Status extends Action
|
||||
|
||||
protected function _isAllowed()
|
||||
{
|
||||
return $this->_authorization->isAllowed('MageSail_Magesail::tunnel');
|
||||
return $this->_authorization->isAllowed('MageSail_Magesail::tunnel')
|
||||
|| $this->_authorization->isAllowed('MageSail_Magesail::tunnel_view')
|
||||
|| $this->_authorization->isAllowed('MageSail_Magesail::tunnel_manage');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user