GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Chaining ACL grants on Storage does not work. · Issue #3181 · googleapis/google-cloud-python

Chaining ACL grants on Storage does not work. #3181

New issue
Copy link
New issue
Copy link
Closed
Closed
Chaining ACL grants on Storage does not work.#3181
Copy link
Assignees
lukesneeringertseaver
Labels
api: storageIssues related to the Cloud Storage API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.

Description

@daspecster
daspecster
opened on Mar 21, 2017
Issue body actions

So from what I can tell this doesn't work.

Example:

acl.all().grant_read().revoke_write()

None of the grant methods return an object to chain to.
See: https://github.com/GoogleCloudPlatform/google-cloud-python/blob/486163e5378897961bc3cf367062c8b10cf7ce3e/storage/google/cloud/storage/acl.py#L148-L170

Should I just take this out of the docs?

Activity

  1. daspecster
    added
    api: storageIssues related to the Cloud Storage API.
    on Mar 21, 2017
  2. daspecster
    assigned
    lukesneeringer
    ,
    tseaver
    and
    dhermes
    on Mar 21, 2017
  3. lukesneeringer
    added a commit that references this issue on Mar 22, 2017

    Make ACL methods chainable.

    This issue will close once commit 66551ba is merged into the 'master' branch.
    66551ba
  4. lukesneeringer commented on Mar 22, 2017

    @lukesneeringer
    lukesneeringer
    on Mar 22, 2017
    Contributor
    More actions

    I would rather fix the code to match the docs.

  5. daspecster commented on Mar 22, 2017

    @daspecster
    daspecster
    on Mar 22, 2017
    ContributorAuthor
    More actions

    SGTM, I'll get a PR together. Ha I see you have.

  6. tseaver commented on Mar 22, 2017

    @tseaver
    tseaver
    on Mar 22, 2017
    Contributor
    More actions

    Those docs may be leftovers from some early development: we've mostly avoided the return self chaining thing on purpose.

    Reacted by Danny Hermes
  7. lukesneeringer commented on Mar 22, 2017

    @lukesneeringer
    lukesneeringer
    on Mar 22, 2017
    Contributor
    More actions

    Based on feedback to #3183, please change the docs. :-)

  8. daspecster commented on Mar 22, 2017

    @daspecster
    daspecster
    on Mar 22, 2017
    ContributorAuthor
    More actions

    👍

  9. lukesneeringer commented on Mar 23, 2017

    @lukesneeringer
    lukesneeringer
    on Mar 23, 2017
    Contributor
    More actions

    Has this been done?

  10. lukesneeringer
    added
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    status: acknowledged
    on Mar 23, 2017
  11. tseaver
    closed this as completedin #3428on May 16, 2017
  12. theacodes
    unassigned
    dhermes
    on Sep 28, 2018
  13. parthea
    added a commit that references this issue on Jul 6, 2023

    chore(deps): update dependency numpy to v1.18.2 [(#3181)](GoogleCloud…

    f80928b
  14. parthea
    added a commit that references this issue on Jun 19, 2024

    chore(deps): bump urllib3 from 2.0.7 to 2.2.2 in /.kokoro (#12803)

    bedc2ae
  15. parthea
    added a commit that references this issue on Mar 9, 2026

    Scrub mention of no-longer-chainable ACL methods.

    This issue will close once commit ab35a0d is merged into the 'main' branch.
    ab35a0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer
  • @tseaver
    tseaver

Labels

api: storageIssues related to the Cloud Storage API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.