Issues

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

Issue Type: Bug Created: 2010-11-25T00:19:18.000+0000 Last Updated: 2010-11-27T12:46:31.000+0000 Status: Resolved Fix version(s): Reporter: straighttreeditch-zend@yahoo.co.uk (straighttreeditch-zend@yahoo.co.uk) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Acl

Related issues: - ZF-10649

Attachments:

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

Posted by Ramon Henrique Ornelas (ramon) on 2010-11-27T12:46:29.000+0000

Duplicates of ZF-10649.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts