-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Migration from 1.3.1 to 2.0.1 breaks public permissions with Google Cloud Storage #2426
Comments
Getting the same issue, when upgrading carrierwave. We noticed the difference is that:
This is a major issue when upgrading carrierwave. |
Did investigation of the issue and as written here it happens because of I opened an issue to ask fog-google on how to pass auth query parameters so we can pass it from carrierwave - fog/fog-google#505 |
yosiat
added a commit
to yosiat/carrierwave
that referenced
this issue
Dec 30, 2020
If not done, uploading a file via carrierwave with fog_public will return access denied. Closes carrierwaveuploader#2426
This was referenced Mar 11, 2021
joemsak
pushed a commit
to Kadenze/carrierwave
that referenced
this issue
Mar 27, 2021
If not done, uploading a file via carrierwave with fog_public will return access denied. Closes carrierwaveuploader#2426
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
After migration from 1.3.1 to 2.0.1 public permissions per object get
ruby 2.6.4
carrierwave 2.0.1
fog-core 2.1.0
fog-google 1.9.1
example
https://github.com/nerf-qh/carrierwave_update
Config
The initial file is public, but in the
copy_to
method this option is losthttps://github.com/carrierwaveuploader/carrierwave/blob/master/lib/carrierwave/storage/fog.rb#L444-L446
The same happens if you just copy files
https://gist.github.com/nerf-qh/2606513f42e3be169e52cac4ca72f5ce
The text was updated successfully, but these errors were encountered: