After completing Zend_Acl tutorial I get an error
Notice: Trying to get property of non-object in application/plugins/AccessCheck.php on line xx
where line xx contains
$user_role = $identity ->user_role;This is a generally acceptable message generated as a result of relying on the fact that non-loged in users will have
null zend_auth identity object. For details on how to improve on that, see my
tutorial 9, Zend Registry and Authentication Improvement