[Catalyst] Installing
Catalyst::Authentication::Store::DBIx::Class Breaks Catalyst
kakimoto at tpg.com.au
kakimoto at tpg.com.au
Sun May 17 00:02:54 GMT 2009
Hello, Collin,
My modules are:
| Catalyst::Plugin::Authentication 0.10011
|
| Catalyst::Plugin::Authentication::Credential::Password
|
| Catalyst::Plugin::Authorization::Roles 0.07
|
What are you using? Mine's still not working . Even downloaded the
codes for tute 6
(http://search.cpan.org/~hkclark/Catalyst-Manual-5.7021/lib/Catalyst/Manual/Tutorial/Authorization.pod)
and it still doesn't work...
Weird..
Will work on it more today and will revert
K. akimoto
Quoting Collin Condray <ccondray at gmail.com>:
> 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 = {
> > > "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