[Catalyst] Installing Catalyst::Authentication::Store::DBIx::Class Breaks Catalyst

kakimoto at tpg.com.au kakimoto at tpg.com.au
Tue May 12 12:28:04 GMT 2009


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 = {
>     "Action::RenderView" => {
>           ignore_classes => [
>                               "DBIx::Class::ResultSource::Table",
>                               "DBIx::Class::ResultSourceHandle",
>                               "DateTime",
>                             ],
>           scrubber_func  => sub { "???" },
>         },
>     "Plugin::Authentication" => {
>           default_realm => "dbic",
>           realms => {
>                 dbic => {
>                       credential => {
>                             class => "Password",
>                             password_field => "password",
>                             password_hash_type => "SHA-1",
>                             password_type => "hashed",
>                           },
>                       store => {
>                             class => "DBIx::Class",
>                             "ignore_fields_in_find" => [],
>                             role_field => "role",
>                             role_relation => "roles",
>                             store_user_class =>
> "Catalyst::Authentication::Store::DBIx::Class::User",
>                             user_class => "myappDB::Users",
>                           },
>                       use_session => 1,
>                     },
>               },
>           use_session => 1,
>         },
>     "Plugin::ConfigLoader" => {},
>     authentication => 'fix',
>     "custom-error-messsage" => { "error-template" =>
> "internal_error.tt",
> "view-name" => "TToolkit" },
>     email => ["Sendmail"],
>     home => "/home/.avis/username/domainname.com/myapp",
>     name => "myapp",
>     require_ssl => { no_cache => 0, remain_in_ssl => 1 },
>     root => bless({
>           dirs => [
>                 "",
>                 "home",
>                 ".avis",
>                 "username",
>                 "domainname.com",
>                 "myapp",
>                 "root",
>               ],
>           file_spec_class => undef,



More information about the Catalyst mailing list