lib/Auth/Acl.php
public function isAllowedModel($modelClass, $privilege = null)
    {
        return $this->isAllowed($this->modelResourceGenerator($modelClass), $privilege);
    }
public function isAllowedModel($modelClass, $privilege = null)
    {
        return $this->isAllowed($this->modelResourceGenerator($modelClass), $privilege);
    }
public function isAllowedModel ( $ modelClass , $ privilege = null ) { return $ this -> isAllowed ( $ this -> modelResourceGenerator ( $ modelClass ) , $ privilege ) ; }
Check for access to a model

@param  string $modelClass
@param  string|array $privilege
@return boolean
Check for access to a model