-
Notifications
You must be signed in to change notification settings - Fork 327
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
[ENG-5845] Preprint Institutions Relationship #10659
[ENG-5845] Preprint Institutions Relationship #10659
Conversation
27db54a
to
60bfb27
Compare
660d92d
to
e3425bf
Compare
e3425bf
to
07bf405
Compare
…enterForOpenScience/osf.io into preprint-insetitutions-relationship-list-api * 'feature/preprints-affiliations' of https://github.com/CenterForOpenScience/osf.io: remove literal string permissions add docstring to explain permission improve preprint tests by creating 404 case improve permissions by dropping unsafe method behavior remove vestigial serializer # Conflicts: # api/preprints/permissions.py # api/preprints/serializers.py # api/preprints/views.py # api_tests/preprints/views/test_preprint_institutions.py
55f6105
to
268d5c6
Compare
eff1e35
to
164aa66
Compare
c54fbb1
to
8adc2df
Compare
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.
Looks great overall and nice work 👍 . Have a few questions + some style nitpicking. First pass done and I will do some local testing locally.
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.
Looks great and thanks for the quick response 🎆 I will make a couple of trivial style changes + adding some comments / DocStr and merge it soon.
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.
Pushing my changes now and will merge after CI passes
231b478
into
CenterForOpenScience:feature/preprints-affiliations
Purpose
To transfer
NodeInstitutionsRelationshipList
logic to Preprints from nodes with adjoining classes.Changes
WriteOrPublicForRelationshipInstitutions
is moved and refactored from being exclusively for nodes into a all resourcesNodeInstitutionsRelationshipList
view toPreprintInstitutionsRelationshipList
NodeInstitutionsRelationshipSerializer
toPreprintsInstitutionsRelationshipSerializer
TODO
update_institutions
to baseQA Notes
N/A
Documentation
N/A
Side Effects
N/A
Ticket
https://openscience.atlassian.net/browse/ENG-5845