Details
Description
While using Zend_Acl, I encountered a problem that can be reproduce with this simple code :
$acl = new Zend_Acl(); $acl->addRole('admin'); $acl->addResource('blog'); $acl->allow('admin', 'blog', 'read'); $acl->removeAllow(array('admin'), array('blog'), null);
It results with this :
Notice: Undefined index: allPrivileges in lib/Zend/Acl.php on line 682
The documentation (http://framework.zend.com/manual/en/zend.acl.refining.html#zend.acl.refining.removing) indicate that it should remove allow rights to every privileges in the ACL.
Fixed in trunk