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.<br><br>Thanks for the follow up. I appreciate it!<br><br clear="all">
Collin Condray<br><a href="http://condray.net">condray.net</a><br>
<br><br><div class="gmail_quote">On Tue, May 12, 2009 at 7:28 AM, <span dir="ltr"><<a href="mailto:kakimoto@tpg.com.au">kakimoto@tpg.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello, Collin<br>
<br>
I have the same configuration and output of the Catalyst config too!<br>
<br>
My problem is a bit different. I could login but the accounts that have<br>
'admin' roles would never get detected of the 'admin' role.<br>
<br>
How are you doing with this issue?<br>
<br>
<br>
Guys, please comment.<br>
<br>
Thank you:)<br>
<br>
K. akimoto<br>
<div><div></div><div class="h5"><br>
<br>
Quoting Collin Condray <<a href="mailto:ccondray@gmail.com">ccondray@gmail.com</a>>:<br>
<br>
> Tomas,<br>
><br>
> Here's the config section of the debug output:<br>
><br>
> do {<br>
> my $a = {<br>
> "Action::RenderView" => {<br>
> ignore_classes => [<br>
> "DBIx::Class::ResultSource::Table",<br>
> "DBIx::Class::ResultSourceHandle",<br>
> "DateTime",<br>
> ],<br>
> scrubber_func => sub { "???" },<br>
> },<br>
> "Plugin::Authentication" => {<br>
> default_realm => "dbic",<br>
> realms => {<br>
> dbic => {<br>
> credential => {<br>
> class => "Password",<br>
> password_field => "password",<br>
> password_hash_type => "SHA-1",<br>
> password_type => "hashed",<br>
> },<br>
> store => {<br>
> class => "DBIx::Class",<br>
> "ignore_fields_in_find" => [],<br>
> role_field => "role",<br>
> role_relation => "roles",<br>
> store_user_class =><br>
> "Catalyst::Authentication::Store::DBIx::Class::User",<br>
> user_class => "myappDB::Users",<br>
> },<br>
> use_session => 1,<br>
> },<br>
> },<br>
> use_session => 1,<br>
> },<br>
> "Plugin::ConfigLoader" => {},<br>
> authentication => 'fix',<br>
> "custom-error-messsage" => { "error-template" =><br>
> "<a href="http://internal_error.tt" target="_blank">internal_error.tt</a>",<br>
> "view-name" => "TToolkit" },<br>
> email => ["Sendmail"],<br>
> home => "/home/.avis/username/<a href="http://domainname.com/myapp" target="_blank">domainname.com/myapp</a>",<br>
> name => "myapp",<br>
> require_ssl => { no_cache => 0, remain_in_ssl => 1 },<br>
> root => bless({<br>
> dirs => [<br>
> "",<br>
> "home",<br>
> ".avis",<br>
> "username",<br>
> "<a href="http://domainname.com" target="_blank">domainname.com</a>",<br>
> "myapp",<br>
> "root",<br>
> ],<br>
> file_spec_class => undef,<br>
</div></div></blockquote></div><br>