app/controllers/review_mapping_controller.rb
# E1600
# start_self_review is a method that is invoked by a student user so it should be allowed accordingly
E1600
start_self_review is a method that is invoked by a student user so it should be allowed accordingly
E1600 start_self_review is a method that is invoked by a student user so it should be allowed accordingly
def action_allowed?
    case params[:action]
    when 'add_dynamic_reviewer', 'release_reservation', 'show_available_submissions', 'assign_reviewer_dynamically', 'assign_metareviewer_dynamically', 'assign_quiz_dynamically', 'start_self_review'
      true
    else
      ['Instructor',
       'Teaching Assistant',
       'Administrator'].include? current_role_name
    end
  end
def action_allowed? case params [ :action ] when 'add_dynamic_reviewer' , 'release_reservation' , 'show_available_submissions' , 'assign_reviewer_dynamically' , 'assign_metareviewer_dynamically' , 'assign_quiz_dynamically' , 'start_self_review' true else [ 'Instructor' , 'Teaching Assistant' , 'Administrator' ] . include? current_role_name end end
E1600
start_self_review is a method that is invoked by a student user so it should be allowed accordingly
E1600 start_self_review is a method that is invoked by a student user so it should be allowed accordingly