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
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
|
|