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 — feat: public access prevention by shaffeeullah · Pull Request #304 · googleapis/python-storage

This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Conversation

@shaffeeullah

@shaffeeullah shaffeeullah commented Nov 9, 2020 •
edited by tseaver
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #312 🦕

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 9, 2020
@shaffeeullah
shaffeeullah requested a review from tritone November 9, 2020 22:40
@product-auto-label product-auto-label Bot added the api: storage Issues related to the googleapis/python-storage API. label Nov 9, 2020
tritone
tritone reviewed Nov 10, 2020
View reviewed changes

@tritone tritone left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good-- my biggest question is whether we should use some kind of enum or constant for the values.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/system/test_system.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/system/test_system.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@tritone
tritone requested a review from andrewsg November 10, 2020 19:28
tritone
tritone reviewed Nov 11, 2020
View reviewed changes
Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah
shaffeeullah requested a review from tritone November 11, 2020 19:06
tseaver
tseaver suggested changes Nov 11, 2020
View reviewed changes
Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread tests/system/test_system.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Nov 11, 2020

Copy link
Copy Markdown
Contributor

The systest failures seem to indicate that the feature is not working as expected. Do we need to get the CI project added to a whitelist?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah

shaffeeullah commented Nov 11, 2020

Copy link
Copy Markdown
Contributor Author

The systest failures seem to indicate that the feature is not working as expected. Do we need to get the CI project added to a whitelist?

The backend feature still has some bugs that are being resolved. The current failure is expected at this time.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah
shaffeeullah requested a review from tseaver November 16, 2020 17:21
tseaver
tseaver reviewed Nov 16, 2020
View reviewed changes
Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@google-cla

google-cla Bot commented Nov 16, 2020

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@google-cla

google-cla Bot commented Nov 16, 2020

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Nov 16, 2020
@google-cla

google-cla Bot commented Nov 16, 2020

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah
shaffeeullah requested a review from tseaver November 16, 2020 20:26
@google-cla

google-cla Bot commented Nov 16, 2020

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

2 similar comments
@google-cla

google-cla Bot commented Dec 22, 2020

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla

google-cla Bot commented Dec 23, 2020

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah shaffeeullah added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Dec 23, 2020
@shaffeeullah
shaffeeullah marked this pull request as ready for review December 23, 2020 18:16
@shaffeeullah
shaffeeullah requested a review from a team December 23, 2020 18:16
@shaffeeullah

shaffeeullah commented Dec 23, 2020

Copy link
Copy Markdown
Contributor Author

Hi @tseaver , can you please sign the CLA? See #304 (comment)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah

shaffeeullah commented Jan 12, 2021

Copy link
Copy Markdown
Contributor Author

Hi @tseaver , can you please sign the CLA? See #304 (comment)

@tseaver friendly bump

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot

googlebot commented Jan 12, 2021

Copy link
Copy Markdown

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andrewsg

andrewsg commented Jan 12, 2021

Copy link
Copy Markdown
Contributor

Tres has signed the CLA and submitted other PRs with the same email address without issue, so I don't know why googlebot is complaining here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@andrewsg

andrewsg commented Jan 12, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@shaffeeullah This seems to be an issue with Github adding Tres to the contributor list automatically, with different user details than he normally uses based on the git config in his actual computer.

Tres definitely is a CLA signer. I conferred with Frank and he suggested you rebase to remove Tres from the contributor list and force-push. Please message me on chat if you need help wrangling git here. And make a backup of your branch just in case.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tritone
tritone approved these changes Jan 21, 2021
View reviewed changes

@tritone tritone left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor docs comment, otherwise looks good!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread google/cloud/storage/bucket.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
docs: include link to the GCS PAP docs in docstring
4264534
@google-cla

google-cla Bot commented Jun 8, 2021

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

1 similar comment
@google-cla

google-cla Bot commented Jun 8, 2021

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tseaver
tseaver approved these changes Jun 8, 2021
View reviewed changes
@shaffeeullah

shaffeeullah commented Jun 11, 2021

Copy link
Copy Markdown
Contributor Author

Public access prevention rollout has been delayed due to a bug surfaced during Googler preview. I will keep this PR updated as I learn new release timeline details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah

shaffeeullah commented Jun 28, 2021

Copy link
Copy Markdown
Contributor Author

@andrewsg This feature can now be merged and released. Are you able to help me with this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tritone tritone removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. status: blocked Resolving the issue is dependent on other work. labels Jun 29, 2021
@tseaver

tseaver commented Jun 30, 2021

Copy link
Copy Markdown
Contributor

@shaffeeullah I can help fix the merge, since my PR refactoring the system tests is what broke your new ones.

shaffeeullah reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
Merge branch 'master' into publicaccessprevention
f0e6117
@google-cla

google-cla Bot commented Jun 30, 2021

Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added cla: no This human has *not* signed the Contributor License Agreement. and removed cla: yes This human has signed the Contributor License Agreement. labels Jun 30, 2021
@tseaver

tseaver commented Jun 30, 2021

Copy link
Copy Markdown
Contributor

@googlebot I consent.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla

google-cla Bot commented Jun 30, 2021

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added cla: yes This human has signed the Contributor License Agreement. and removed cla: no This human has *not* signed the Contributor License Agreement. labels Jun 30, 2021
@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 30, 2021
@tseaver
chore: blacken
157f25e
@google-cla

google-cla Bot commented Jun 30, 2021

Copy link
Copy Markdown

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@shaffeeullah

shaffeeullah commented Jun 30, 2021

Copy link
Copy Markdown
Contributor Author

Thanks, @tseaver !! @andrewsg @tseaver If the tests pass, would it be possible to release this today?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jun 30, 2021
@tseaver

tseaver commented Jun 30, 2021

Copy link
Copy Markdown
Contributor

@shaffeeullah Yes, we should be able to make a release. @cojenco, are any of your open PRs at a state where they should be merged before a release?

shaffeeullah and cojenco reacted with hooray emoji
All reactions
  • 🎉 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
tseaver merged commit e3e57a9 into googleapis:master Jun 30, 2021
@shaffeeullah
shaffeeullah deleted the publicaccessprevention branch June 30, 2021 15:26
@cojenco

cojenco commented Jun 30, 2021

Copy link
Copy Markdown
Contributor

Thanks @tseaver and @shaffeeullah! I'll be merging #480 shortly and trying to squeeze in #484 this morning as well for the release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Jun 30, 2021

Copy link
Copy Markdown
Contributor

@shaffeeullah Release is in progress: PR #485

shaffeeullah reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@shaffeeullah @cojenco
feat: add public access prevention to bucket IAM configuration (googl…
62b0f9e
…eapis#304)
cojenco pushed a commit to cojenco/python-storage that referenced this pull request Oct 13, 2021
@shaffeeullah @cojenco
feat: add public access prevention to bucket IAM configuration (googl…
71cb54a
…eapis#304)
@release-please release-please Bot mentioned this pull request Jan 12, 2022
chore(main): release 3.0.0 #688
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

3 more reviewers
@tseaver tseaver tseaver approved these changes
@andrewsg andrewsg andrewsg approved these changes
@tritone tritone tritone approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: storage Issues related to the googleapis/python-storage API. cla: yes This human has signed the Contributor License Agreement. external This issue is blocked on a bug with the actual product.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

add support for PublicAccessPrevention

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@shaffeeullah @tseaver @googlebot @andrewsg @cojenco @tritone @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.