claerosystems/cl4auth — Issue #1: class cl4_auth.php requires a subclass of Controller_Base to work on redirect
Author: claerosystems
Created: 2012-02-13 17:52:23+00:00
State: open

In the case where we login with a redirect and the redirect goes to a controller, auth check's to see if the permission is for an object, but it has to be an instance of Controller_Base, is that really necessary? I suggest we remove this requirement, so change:

if (is_object($permission) && $permission instanceof Controller_Base && $action_name !== NULL) {

to

if (is_object($permission) && $action_name !== NULL) {

Darryl, What do you think?

Craig