Devise and Cancan

Been using devise for a number of projects, happy with the authentication process.

Cancan (thanks Ryan Bates) allows role based permission management. Once you understand how things work together, it’s quite easy to setup and test.

Found these blog posts helpful.

http://www.tonyamoyal.com/2010/07/28/rails-authentication-with-devise-and-cancan-customizing-devise-controllers/comment-page-1/#comments

http://www.tonyamoyal.com/2010/09/29/rails-authentication-with-devise-and-cancan-part-2-restful-resources-for-administrators/

There are a few gaps though, that are filled in here.

http://stackoverflow.com/questions/5739419/checkboxes-are-getting-but-not-putting-many-to-many-roles

 

Leave a Reply

Your email address will not be published. Required fields are marked *