GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Issue Removing Last IAM Member from Bucket · Issue #1210 · GoogleCloudPlatform/python-docs-samples Closed DescriptionIn which file did you encounter the issue?python-docs-samples/storage/cloud-client/iam.py Did you change the file? If so, how?No Describe the issueI'm trying to create a script that will remove all permissions on a bucket. The issue I'm running into is when trying to run the code below when it is the last permission/member assigned to the bucket. I have the traceback below, which is pointing to the "bucket.set_iam_policy(policy)". It seems the function errors out when there is no permission/member left when trying to set the policy. Is there a fix for this? def remove_bucket_iam_member(bucket_name, role, member): Traceback (most recent call last): Process finished with exit code 1 Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |