diff --git a/openreview/venue/invitation.py b/openreview/venue/invitation.py index 2d4bfc41f..716ad89d3 100644 --- a/openreview/venue/invitation.py +++ b/openreview/venue/invitation.py @@ -1949,7 +1949,7 @@ def set_submission_revision_invitation(self, submission_revision_stage=None): 'invitation': { 'id': self.venue.get_invitation_id(revision_stage.name, '${2/content/noteNumber/value}'), 'signatures': [venue_id], - 'readers': ['everyone'], + 'readers': [venue_id, self.venue.get_authors_id(number='${3/content/noteNumber/value}')], 'writers': [venue_id], 'invitees': [venue_id, self.venue.get_authors_id(number='${3/content/noteNumber/value}')], 'cdate': revision_cdate, diff --git a/setup.py b/setup.py index 62285d758..67c505d87 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='openreview-py', - version='1.31.1', + version='1.32.0', description='OpenReview API Python client library', url='https://github.com/openreview/openreview-py', diff --git a/tests/test_neurips_conference_v2.py b/tests/test_neurips_conference_v2.py index 01d1cc3d1..a9bc9591d 100644 --- a/tests/test_neurips_conference_v2.py +++ b/tests/test_neurips_conference_v2.py @@ -895,7 +895,9 @@ def test_submit_papers(self, test_client, client, helpers, openreview_client): assert test_client.get_invitation('NeurIPS.cc/2023/Conference/Submission5/-/Withdrawal') assert test_client.get_invitation('NeurIPS.cc/2023/Conference/Submission5/-/Desk_Rejection') - assert test_client.get_invitation('NeurIPS.cc/2023/Conference/Submission5/-/Revision') + revision_inv = test_client.get_invitation('NeurIPS.cc/2023/Conference/Submission5/-/Revision') + assert revision_inv + assert ['NeurIPS.cc/2023/Conference', 'NeurIPS.cc/2023/Conference/Submission5/Authors'] == revision_inv.readers post_submission = openreview_client.get_invitation('NeurIPS.cc/2023/Conference/-/Post_Submission') assert 'authors' in post_submission.edit['note']['content']