How to use SimpleCRUD together with Auth::*?
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? BTW: I found that SimpleCRUD given an error delete route which omit $args{dancer_prefix}?
435 redirect _construct_url($args{prefix}); 2013/1/5 chenlin rao <rao.chenlin@gmail.com>
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?
BTW: I found that SimpleCRUD given an error delete route which omit $args{dancer_prefix}?
On 01/05/2013 12:30 PM, chenlin rao 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?
Take a look at Dancer::Plugin::Auth::Extensible or Dancer::Plugin::Auth::Basic. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team
On Sat, 5 Jan 2013 19:30:14 +0800 chenlin rao <rao.chenlin@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@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
participants (3)
-
chenlin rao -
David Precious -
Stefan Hornburg (Racke)