proof of concept for pundit
-got the pundit policy file working
-verified that it blocked/allowed users with correct permissions
-fixed a bug in user model where the magic strings had been poorly defined
-
dev
1 parent 7c9f391 commit e4159199ec94df6c245718224406272d8ce30295
@xsrust xsrust authored on 15 Aug 2016
Showing 4 changed files
View
app/controllers/application_controller.rb
View
app/controllers/token_permission_types_controller.rb
View
app/models/user.rb
View
app/policies/token_permission_type_policy.rb 0 → 100644