[Catalyst] Installing
Catalyst::Authentication::Store::DBIx::Class Breaks Catalyst
Collin Condray
ccondray at gmail.com
Fri May 15 02:31:00 GMT 2009
It looks like the problem is resolved. I upgraded to the latest version of
Catalyst and Authentication/Authorization started working normally. Funny
how that happens.
Thanks for the follow up. I appreciate it!
Collin Condray
condray.net
On Tue, May 12, 2009 at 7:28 AM, <kakimoto at tpg.com.au> wrote:
> Hello, Collin
>
> I have the same configuration and output of the Catalyst config too!
>
> My problem is a bit different. I could login but the accounts that have
> 'admin' roles would never get detected of the 'admin' role.
>
> How are you doing with this issue?
>
>
> Guys, please comment.
>
> Thank you:)
>
> K. akimoto
>
>
> Quoting Collin Condray <ccondray at gmail.com>:
>
> > Tomas,
> >
> > Here's the config section of the debug output:
> >
> > do {
> > my $a =3D {
> > "Action::RenderView" =3D> {
> > ignore_classes =3D> [
> > "DBIx::Class::ResultSource::Table",
> > "DBIx::Class::ResultSourceHandle",
> > "DateTime",
> > ],
> > scrubber_func =3D> sub { "???" },
> > },
> > "Plugin::Authentication" =3D> {
> > default_realm =3D> "dbic",
> > realms =3D> {
> > dbic =3D> {
> > credential =3D> {
> > class =3D> "Password",
> > password_field =3D> "password",
> > password_hash_type =3D> "SHA-1",
> > password_type =3D> "hashed",
> > },
> > store =3D> {
> > class =3D> "DBIx::Class",
> > "ignore_fields_in_find" =3D> [],
> > role_field =3D> "role",
> > role_relation =3D> "roles",
> > store_user_class =3D>
> > "Catalyst::Authentication::Store::DBIx::Class::User",
> > user_class =3D> "myappDB::Users",
> > },
> > use_session =3D> 1,
> > },
> > },
> > use_session =3D> 1,
> > },
> > "Plugin::ConfigLoader" =3D> {},
> > authentication =3D> 'fix',
> > "custom-error-messsage" =3D> { "error-template" =3D>
> > "internal_error.tt",
> > "view-name" =3D> "TToolkit" },
> > email =3D> ["Sendmail"],
> > home =3D> "/home/.avis/username/domainname.com/myapp",
> > name =3D> "myapp",
> > require_ssl =3D> { no_cache =3D> 0, remain_in_ssl =3D> 1 },
> > root =3D> bless({
> > dirs =3D> [
> > "",
> > "home",
> > ".avis",
> > "username",
> > "domainname.com",
> > "myapp",
> > "root",
> > ],
> > file_spec_class =3D> undef,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090514/43b06=
93e/attachment.htm
More information about the Catalyst
mailing list