Commit 1ef5188f authored by Gualter's avatar Gualter

Allow up to 3 reviews and 2 expert reviews (Malmö #215)

parent b861bf2b
......@@ -228,10 +228,10 @@ class Ability
not event.event_ratings.where(person: @user.person).any? and # Did not already review
if event.is_special_session?
not event.conference.ss_review_deadline.past? and # Special Session Review Deadline not over
(event.expert_review_reservations_count + event.ratings_by_reviewers) < 2 # Event does not have either 2 Reservations or 2 Reviews or 1 Reservation and 1 Review
(event.expert_review_reservations_count + event.ratings_by_reviewers) < 3 # Event does not have either 2 Reservations or 2 Reviews or 1 Reservation and 1 Review
else
not event.conference.ip_expert_review_deadline.past? and # Individual Paper Review Deadline not over
(event.expert_review_reservations_count + event.ratings_by_reviewers) < 1 # Event is neither reserved nor reviewed by an expert
(event.expert_review_reservations_count + event.ratings_by_reviewers) < 2 # Event is neither reserved nor reviewed by an expert
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment