Roles authentication with Rails 3 and Devise.

Posted by Oluf Nielsen on Stack Overflow See other posts from Stack Overflow or by Oluf Nielsen
Published on 2010-12-31T19:03:47Z Indexed on 2010/12/31 23:54 UTC
Read the original article Hit count: 268

Hi, first happy new year, may you make the best applications in 2011!

So to my question, i have used devise ever since i got over to Rails 3, that was around the first or second beta, and now i also needs some Roles. So i searched the net, and i searched! And what i found was that CanCan should be the best solution. But i'm unsure if CanCan can manage my needs, like i want a forum moderator who can edit/destroy the topic, but the user who created the topic should also be able to edit, so how can i do that?

Cheers, Oluf.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about authentication