-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add review team setting allowing reviewers to reject assignments past the deadline #5418
Conversation
allow_reviewer_to_reject_after_deadline that will allow rejecting review requests, even after the deadline is past. Also modified that the secretary, or whoever manages the reviews is always allowed to reject the review regardless of the deadline as he/she could change the deadline anyways.
cases to the test_reviews.py for different reject cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks ok, but I think the new test cases need to verify that POSTs are allowed/disallowed in addition to checking what the GET claims can be done.
Codecov Report
@@ Coverage Diff @@
## main #5418 +/- ##
==========================================
+ Coverage 88.69% 88.70% +0.01%
==========================================
Files 290 290
Lines 40390 40422 +32
==========================================
+ Hits 35823 35858 +35
+ Misses 4567 4564 -3
|
Fixes #3069.
allow_reviewer_to_reject_after_deadline that will allow rejecting review requests, even after the deadline is past. Also modified that the secretary, or whoever manages the reviews is always allowed to reject the review regardless of the deadline as he/she could change the deadline anyways.