Install cancancan
Basic setting of ability.rb
Done the basic authrization
Add time zone to taipei
Add admin to user
Add admin controller
auto g by rails (while g admin controller)
Add flash error to _flash partial
remove the validation in view(admin post index)
Adjust ability.rb
remove user_id in admin posts' form
Add new admin users including model and controller
Fron-end adjustment
add admin/users controller
Done change multiple users role
add bootstrap class to admin user index