Skip to content

Making bucket level access default #196

@sverrirarnors

Description

@sverrirarnors

After having set up authentication with bucket level permissions (which is now the default and recommended way to authenticate to GCS), the library always returns this warning:

http_400 Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. 
Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access - Retrying with predefinedAcl='bucketLevel'

which then works.

Could it be a good idea to have bucket level permissions be the default ones? Then one would not have to explicitly set the predefinedAcl all the time. This would be very convenient when working with other libraries, such as pins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions