Hi everyone,
I have been playing with some recent features of Catalyst like
Actions and forward chains.
I was wondering if an action could be used to provide encaspulated
authentication check like in:
sub dostuff : ActionClass('Secured') {
...
}
The Secured action would check if a user is
Just try InstantCRUD from trunk. It does exactly that. :)
--Jonas
On 03/08/06, Matthieu Codron [EMAIL PROTECTED] wrote:
Hi everyone,
I have been playing with some recent features of Catalyst like
Actions and forward chains.
I was wondering if an action could be used to provide encaspulated
On Thu, Aug 03, 2006 at 09:56:48 +0200, Matthieu Codron wrote:
The Secured action would check if a user is logged in and would take
appropriate actions if not (redirect to a login page or an acces
denied page)
Did you see the ACL plugin?
I'm not 100% sure about this since I'm using FastCGI now (and don't have
this problem, for what ever reason), but my recommendation would be to
do a client side redirect via mod_rewrite or a regular redirect.
RewriteRule ^/dev /dev/ [R]
or
Redirect /dev http://yoursite.com/dev/
If you're just
[EMAIL PROTECTED] wrote:
What is the magic config to
make /dev equivalent to /dev/?
Jonathan Rockway [EMAIL PROTECTED]
:: 08/03/2006 11:18 AM
RewriteRule ^/dev /dev/ [R]
Doh! mod_rewrite...I should have known.
I had to make one minor mod:
RewriteRule ^/dev$ /dev/ [R]
Thanks.
articles related to Catalyst and friends which means it filters articles on
catalyst, dbic, dbix(::)?class or html(::)?widget (case insensitive).
Bah. No Handel? Pt.
Catalyst is dead to me. Dead I say. An ex-parrot.
:-)
-=Chris
signature.asc
Description: OpenPGP digital signature
John Wang wrote:
On 8/3/06, Christopher H. Laco [EMAIL PROTECTED] wrote:
articles related to Catalyst and friends which means it filters
articles
on
catalyst, dbic, dbix(::)?class or html(::)?widget (case insensitive).
Bah. No Handel? Pt.
There would be if I could find the Handel
Hi,
Yuval Kogman a écrit :
Did you see the ACL plugin?
http://search.cpan.org/perldoc?Catalyst::Plugin::Authorization::ACL
Yes, I had a quick look. Seems to do the trick (and much more), although
I liked more the idea of attaching access control to actions via
On 8/3/06, Carl Franks [EMAIL PROTECTED] wrote:
html::widget is also often written as html-widget or H::W.
Likewise, dbix::class could also be written dbix-class.
Thanks, using a - instead of :: is now covered as is H::W. DBIC was already covered.
-- John Wanghttp://www.dev411.com/blog/
Alan Humphrey wrote:
I feel that I'm missing something obvious, but the penny hasn't dropped.
Hope you all can help.
Goal: use a DBIx::Class schema defined outside the Catalyst app name
space.
Using: Catalyst::Model::DBIC::Schema
Problem: I have to define the connection information in
10 matches
Mail list logo