You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying a bug in my code, where I copy an object and it loses it's publicRead permission when doing the copy.
From the google docs, looks like I need to pass destinationPredefinedAcl with publicRead and this should fix my issue.
I can submit a PR to allow this, but I am not sure how the API should like it, except adding another parameter like settings and splat it into copy_object but this is a breaking API that it's not supported in XML request (or other fog libraries).
The text was updated successfully, but these errors were encountered:
Hi,
I am trying a bug in my code, where I copy an object and it loses it's
publicRead
permission when doing the copy.From the google docs, looks like I need to pass
destinationPredefinedAcl
withpublicRead
and this should fix my issue.But looks like fog-google is not supporting this:
https://github.com/fog/fog-google/blob/master/lib/fog/storage/google_json/requests/copy_object.rb
https://github.com/googleapis/google-api-ruby-client/blob/master/generated/google/apis/storage_v1/service.rb#L1743
I can submit a PR to allow this, but I am not sure how the API should like it, except adding another parameter like
settings
and splat it intocopy_object
but this is a breaking API that it's not supported in XML request (or other fog libraries).The text was updated successfully, but these errors were encountered: