From: Michele Beltrame <admin@talkblade.info>
To: gentoo-perl@lists.gentoo.org
Subject: Re: [gentoo-perl] Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm
Date: Tue, 18 Dec 2007 13:21:55 +0100 [thread overview]
Message-ID: <4767BB63.1040206@talkblade.info> (raw)
In-Reply-To: <20071217181051.66e555ab@lbg2.evolone.org>
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@italpro.net
Privacy: http://www.italpro.net/em.html
--
gentoo-perl@gentoo.org mailing list
prev parent reply other threads:[~2007-12-18 12:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-18 2:10 [gentoo-perl] Can't locate Catalyst/Plugin/Authentication/Store/DBIC.pm perl
2007-12-18 12:21 ` Michele Beltrame [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4767BB63.1040206@talkblade.info \
--to=admin@talkblade.info \
--cc=gentoo-perl@gentoo.org \
--cc=gentoo-perl@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox