I think I got it. I needed to change the resource name to caplital 'Test'
So I just need to add the check within every method? Seems a bit susceptible to errors. maxarbos wrote: > > still getting the same error: > > denied > Fatal error: Uncaught exception 'Zend_Acl_Exception' with message > 'Resource 'Test' not found' > in /xxx/Zend/Acl.php:297 > Stack trace: > #0 /xxx/Zend/Acl.php(691): Zend_Acl->get('Test') > #1 /xxxx/admin/Test.php(24): > Zend_Acl->isAllowed('guest', 'Test', 'echoHello') > #2 /xxx/admin/index.php(50): Test->echoHello() > #3 {main} thrown in /xxx/Zend/Acl.php on line 297 > > > > vRandom wrote: >> >> Move this >> >> require_once 'Test.php'; >> $test = new Test($acl); >> >> under >> >> $acl->allow('member', 'test'); >> >> Terre >> >> > > -- View this message in context: http://www.nabble.com/Is-it-possible-to-use-Zend_ACL-without-MVC-tp18385583p18390545.html Sent from the Zend Framework mailing list archive at Nabble.com.