src/Mmi/Mvc/ActionHelper.php
private function _checkAcl(Request $request)
    {
        //brak acl lub brak auth lub dozwolone acl
        return !$this->_acl || !$this->_auth || $this->_acl->isAllowed($this->_auth->getRoles(), $request->getAsColonSeparatedString());
    }
private function _checkAcl(Request $request)
    {
        //brak acl lub brak auth lub dozwolone acl
        return !$this->_acl || !$this->_auth || $this->_acl->isAllowed($this->_auth->getRoles(), $request->getAsColonSeparatedString());
    }
private function _checkAcl ( Request $ request ) { //brak acl lub brak auth lub dozwolone acl return ! $ this -> _acl || ! $ this -> _auth || $ this -> _acl -> isAllowed ( $ this -> _auth -> getRoles ( ) , $ request -> getAsColonSeparatedString ( ) ) ; }
Sprawdza uprawnienie do widgetu
@param \Mmi\Http\Request $request
@return boolean
Sprawdza uprawnienie do widgetu