Gentoo Archives: gentoo-perl

From: Michele Beltrame <admin@×××××××××.info>
To: gentoo-perl@l.g.o
Subject: Re: [gentoo-perl] Can't locate Catalyst/Plugin/Authentication/Store/
Date: Tue, 18 Dec 2007 12:22:39
In Reply to: [gentoo-perl] Can't locate Catalyst/Plugin/Authentication/Store/ by perl

The Catalyst authentication framework changed a bit lately. ;-)

> if ($c->check_user_roles('admin')) { > > ... didn't seem to fly. > > Now, I'm stuck. That method comes from, I think, ::DBIC ... what's the > new way? Fortunately, in this app, if you are not 'admin' you must be a > user... but I'd like to have my ROLE back!!!
That method come from Catalyst::Plugin::Authorization::Roles - but there's no "new way" for it, it should just work. Make sure the fields role_relation and role_filed in the config are accurate. Hope this helps. Michele. -- Michele Beltrame ICQ 76660101 - MSN mb@×××××××.net Privacy: -- gentoo-perl@g.o mailing list