Closed johnmcconnell closed 3 years ago
This works fine if you configure gcloud directly with public permissions, so it may not be necessary to implement.
@johnmcconnell let me know if this issue can be closed or you still need assistance with this?
I'd leave it open but mark it as low priority.
IMO, if you configure the library to make assets public it should update the ACL definitions in gcloud to allow a non public bucket to publicly share assets uploaded via this library.
@johnmcconnell I'll be working on this issue within the next week. Need this functionality for my own app.
I think it's about time to add proper ACL support to this library. I'll be tracking this development on this issue here.
Same feature mentioned in #25 as well. Closing #25 in favor of this issue.
This should be resolved in the latest release on Rubygems:
https://rubygems.org/gems/carrierwave-google-storage/versions/1.0.0
Please re-open the issue if it's still an issue.
For example include the ACL defintion in: https://github.com/metaware/carrierwave-google-storage/blob/master/lib/carrierwave/storage/gcloud_file.rb#L72
From ACL definition here: http://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-storage/v1.4.0/google/cloud/storage/bucket?method=create_file-instance