Subject: | Incompatible class when looking at users in assert_user_roles |
In sub assert_user_roles, the following check is made to determine if a
user object has been passed in:
if ( Scalar::Util::blessed( $roles[0] )
&& $roles[0]->isa("Catalyst::Plugin::Authentication::User") )
This fails since Catalyst::Plugin::Authentication 0.10003, in some cases
because User objects are not always derived from
Catalyst::Plugin::Authentication::User. All users are derived from
Catalyst::Authentication::User.
There is a Catalyst::Plugin::Authentication::User object but only some
stores use this class - and Catalyst::Plugin::Authentication::User isa
Catalyst::Authentication::User compatibility shim anyway.
Jay