[dancer-users] How to use SimpleCRUD together with Auth::*?
David Precious
davidp at preshweb.co.uk
Sat Jan 5 13:58:40 GMT 2013
On Sat, 5 Jan 2013 19:30:14 +0800
chenlin rao <rao.chenlin at gmail.com> wrote:
> SimpleCRUD is a good idea. But when I use it to admin my database, I
> may apply an auth to the routes,how to do this?
That's something I'm working on; it's awaiting sufficient time for me
to finish it :)
https://github.com/bigpresh/Dancer-Plugin-SimpleCRUD/issues/23
I've just pushed my (incomplete, not tested) changes so far:
https://github.com/bigpresh/Dancer-Plugin-SimpleCRUD/pull/24
I hope to finish testing them soon and get them released.
(I also hope to write a proper test suite for D::P::SimpleCRUD, it
*really* needs it. Any volunteers would be very warmly welcomed
indeed :) )
> BTW: I found that SimpleCRUD given an error delete route which omit
> $args{dancer_prefix}?
>
> 435 redirect _construct_url($args{prefix});
Good spot, thanks! There were a couple more similar places too, I've
fixed those too (pushed to master).
--
David Precious ("bigpresh") <davidp at preshweb.co.uk>
http://www.preshweb.co.uk/ www.preshweb.co.uk/twitter
www.preshweb.co.uk/linkedin www.preshweb.co.uk/facebook
www.preshweb.co.uk/cpan www.preshweb.co.uk/github
More information about the dancer-users
mailing list