limit quiz and results scopes to current_user access

now managers and reviewers can only see quizzes and completed results for those quizzes they have been assigned to.
This commit is contained in:
Mark Moser
2017-05-03 16:25:32 -05:00
parent 49035929fb
commit 255e430abd
6 changed files with 11 additions and 8 deletions

View File

@ -54,6 +54,7 @@ group :development, :test do
gem 'byebug', platform: :mri
gem 'pry-byebug'
gem 'pry-rails'
gem 'table_print'
gem 'faker'
gem 'brakeman'