Open libbyschuknight opened 7 years ago
https://rubygems.org/gems/cancancan/versions/1.13.1
https://www.sitepoint.com/cancancan-rails-authorization-dance/
https://github.com/CanCanCommunity/cancancan
Look at cancancan app that have made, which uses a fake user and add cancancan to here and use user.admin? where admin is a boolean.
user.admin?
Take out other auth stuff that had put in with devise
https://github.com/ryanb/cancan/wiki/Role-Based-Authorization - using this
http://stackoverflow.com/questions/32158836/how-to-add-roles-to-my-users-in-rails-app
http://codepany.com/blog/rails-5-user-accounts-with-3-types-of-roles-devise-rails_admin-cancancan/
https://rubygems.org/gems/cancancan/versions/1.13.1
https://www.sitepoint.com/cancancan-rails-authorization-dance/
https://github.com/CanCanCommunity/cancancan