@ -19,6 +19,7 @@ class GamesService
shixun = Shixun.min.find(myshixun.shixun_id)
unless ((myshixun.user_id == current_user.id || current_user.business? || current_user.id == shixun.try(:user_id) ||
current_user.is_certification_teacher) && (shixun.operable?)) || current_user.admin?
Rails.logger.info("######403???")
return{:status => 403}
end
game_challenge = Challenge.min.find(game.challenge_id)