|
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 - |
|---|
|
|
| app/controllers/application_controller.rb |
|---|
| app/controllers/token_permission_types_controller.rb |
|---|
| app/models/user.rb |
|---|
| app/policies/token_permission_type_policy.rb 0 → 100644 |
|---|