Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-perl
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-perl@g.o
From: Michele Beltrame <admin@...>
Subject: Re: Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm
Date: Tue, 18 Dec 2007 13:21:55 +0100
Hi!

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
http://www.cattlegrid.info/
ICQ 76660101 - MSN mb@...
Privacy: http://www.italpro.net/em.html

-- 
gentoo-perl@g.o mailing list


References:
Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm
-- perl
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm
Next by thread:
Additions to perl-experimental
Previous by date:
Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm
Next by date:
Additions to perl-experimental


Updated Jun 17, 2009

Summary: Archive of the gentoo-perl mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.