The happy_seed:roles
generator
abilities.rb
fileaccess_denied
method on application_controller
This is a basic framework for role-based permissions. The admin generator will optionally use this if you don't install a seperate AdminUser class.
na
Define roles in the enum on the user model and abilities inside of the abilities.rb
class per the directions in the cancan documentation here.