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/DBIC.pm
Date: Tue, 18 Dec 2007 12:22:39
Message-Id: 4767BB63.1040206@talkblade.info
In Reply to: [gentoo-perl] Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm by perl
1 Hi!
2
3 The Catalyst authentication framework changed a bit lately. ;-)
4
5 > if ($c->check_user_roles('admin')) {
6 >
7 > ... didn't seem to fly.
8 >
9 > Now, I'm stuck. That method comes from, I think, ::DBIC ... what's the
10 > new way? Fortunately, in this app, if you are not 'admin' you must be a
11 > user... but I'd like to have my ROLE back!!!
12
13 That method come from Catalyst::Plugin::Authorization::Roles - but there's no
14 "new way" for it, it should just work. Make sure the fields role_relation and
15 role_filed in the config are accurate.
16
17 Hope this helps.
18
19 Michele.
20
21 --
22 Michele Beltrame
23 http://www.cattlegrid.info/
24 ICQ 76660101 - MSN mb@×××××××.net
25 Privacy: http://www.italpro.net/em.html
26
27 --
28 gentoo-perl@g.o mailing list