Skip to content
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

add DraftRegistration file permission test #10626

Merged

Conversation

Johnetordoff
Copy link
Contributor

Purpose

Changes

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

@@ -434,6 +434,9 @@ def get_waterbutler_data(resource, waterbutler_data, fileversion, provider):
if isinstance(resource, Preprint):
credentials = resource.serialize_waterbutler_credentials()
waterbutler_settings = resource.serialize_waterbutler_settings()
elif isinstance(resource, DraftRegistration):
credentials = resource.branched_from.serialize_waterbutler_credentials()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad I double checked this -- need to specify osfstorage to both of these

@jwalz jwalz merged commit 8181da6 into CenterForOpenScience:develop May 24, 2024
6 checks passed
Johnetordoff pushed a commit to Johnetordoff/osf.io that referenced this pull request May 24, 2024
 into gv-files-provider-waffle

* 'develop' of https://github.com/CenterForOpenScience/osf.io:
  add DraftRegistration file permission test (CenterForOpenScience#10626)
  add DraftRegistration file permission test (CenterForOpenScience#10622)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants