fixed up a reviewer to reviewee association

This commit is contained in:
Mark Moser
2016-11-20 09:51:46 -06:00
parent e0f5e482be
commit 5ef7f82dbf
12 changed files with 30 additions and 16 deletions

View File

@@ -8,8 +8,7 @@ class ReviewerVotePolicy < ApplicationPolicy
# Only Managers, and Admins, can veto a quiz result
def up?
# return true if user.acts_as_admin?
# user.quizzes.include? record.candidate.quiz
# return true if user.reviewees.include? record.candidate
true
end