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

Provide a mechanism for cleaning ActiveStorage assets after an application uploads a file #350

Open
jrgriffiniii opened this issue Apr 23, 2020 · 0 comments

Comments

@jrgriffiniii
Copy link
Collaborator

Currently for the 2.0 reimplementation, https://github.com/samvera/browse-everything/blob/2.x-stable/app/jobs/browse_everything/upload_job.rb#L69 is where ActiveStorage is used to provide access to a cloud-hosted asset. While this copies the bytestream to local storage, there is no mechanism by which to clean the ActiveStorage entry (as well as the linked file) once the file has been uploaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant