Topic: Devise with various user roles
In my app, I'm using devise for authentication. My user model has booleans for admin, teacher, student, staff. I'm wondering what is the best way to implement various levels of access based on which group the user is a part of?
Do you have any links to some good tutorials for this kind of thing? I'm looking through the devise wiki right now and have a subscription to railscasts, but figured I'd get you guy's opinion on the matter.