Hi Alex!
I'm beginner to ZF.
So I've encountered first problem with this tutorial and have few question to ask

Everything works fine. But it throws 2 errors:
One I've fixed with
if statements, but one is still alive

Here it is:
Notice: Trying to get property of non-object in C:\Program Files\Zend\Apache2\htdocs\acl2\application\Bootstrap.php on line xx
It says, that in $view->navigation($navigation)->setAcl($this->_acl)->setRole($this->_auth->getStorage()->read()->role);
rolehas empty property... and this code doesn't helped:
if($this->_auth->hasIdentity()) {
$role = $identity->role;
}
else {
$role = 'user';
}
$view->navigation($navigation)->setAcl($this->_acl)->setRole($this->_auth->getStorage()->read()->role);
Could you help me with this?
And last question, where I can find more information about
resource work in menus? I don't realise how it works with ACL together, which tasks it perform.
Thank you!