views:

499

answers:

3

As title, warden is very pluggable, I wonder if there is anything works with warden/devise?

A: 

You could try this, which might be able to work alongside:

http://railscasts.com/episodes/188-declarative-authorization

Josh
A: 

I use http://github.com/ryanb/cancan with Devise, its great and requires very little setup, you only have to define the abilitys as CanCan defaults to using current_user for the logged in user, which devise provides.

Arcath
A: 

I also use CanCan with Devise and wrote a very detailed blog post about how to do it. Let me know what you think: http://www.tonyamoyal.com/2010/07/28/rails-authentication-with-devise-and-cancan-customizing-devise-controllers/

Tony