Issues

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

Issue Type: Improvement Created: 2009-08-04T05:50:34.000+0000 Last Updated: 2009-08-16T18:51:11.000+0000 Status: Resolved Fix version(s): - 1.9.1 (11/Aug/09)

Reporter: Ralph Schindler (ralph) Assignee: Ralph Schindler (ralph) Tags: - Zend_Acl

Related issues: Attachments:

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

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