ZF-7467: Zend_Acl addResource() and addRole() should accept strings when configuring

Description

Zend_Acl addResource() and addRole() should accept strings when configuring to allow for a more expressive setup.

Semantically speaking, $acl->addResource(new Zend_Acl_Resource('someresource')) offers no value over $acl->addResource('someresource'); thus the latter should be allowed

Comments

No comments to display