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

Ensure curation visibility matches original image #526

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

dgoetzit
Copy link
Contributor

Hello @awcodes!

I was wondering if you thought this implementation would make sense to ensure that curations always have the same visibility as the original image they are a curation of.

Although Curations are saved into the media table with the same visibility of their original image, when using some S3 compatible storage options (Digital Ocean Spaces specifically 😮‍💨), all resources are created as private unless otherwise specified. This results in them showing as public per the Media/Curation record, but actually existing as private since visibility was not specified.

This would fix that issue, and ensure that the functionality remains the same for everyone else who may be able to configure default visibility on a bucket differently.

@awcodes
Copy link
Owner

awcodes commented Aug 15, 2024

Thanks for the PR. This seems reasonable to me. Will test further and merge soon.

@awcodes awcodes merged commit 481054b into awcodes:3.x Aug 19, 2024
4 checks passed
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