ZF-10743: calling addResource(resource) after calling allow(role, null) does not work

Description

$acl = new Zend_Acl(); $acl ->addRole('role') ->addResource('a') ->allow('role') ->addResource('b') ;
var_dump($acl->isAllowed('role', 'a', 'action')); // bool(true) var_dump($acl->isAllowed('role', 'b', 'action')); // bool(false) (in Zend 1.10 returns true as expected)

Comments

Duplicates of ZF-10649.