8000 gcloud.storage.bucket.Bucket.save_default_object_acl with empty ACL doesn't clear · Issue #139 · googleapis/google-cloud-python · GitHub
[go: up one dir, main page]

Skip to content
gcloud.storage.bucket.Bucket.save_default_object_acl with empty ACL doesn't clear #139
Closed
@tseaver

Description

@tseaver

The following test:

acl = acl or self.default_object_acl

should test for None instead:

if acl is None:
    acl = self.default_object_acl

This bug prevents 'clear_default_object_acl' from working (calling it just saves the existing ACL).

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: storageIssues related to the Cloud Storage API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0