ZF-Commons/ZfcRbac — pull request #69 by Lansoweb (2013-07-30 16:50:48+00:00)
Title: Fixing Fatal Error with Console App

I have rbac working with html, but when i try any console command i got:

Fatal error: Call to undefined method Zend\Console\Response::setStatusCode() in /vendor/zf-commons/zfc-rbac/src/ZfcRbac/View/UnauthorizedStrategy.php on line 126

I guess the is no need for rbac in console app, so should return without attaching the events.

Is there a better way?