Chaining ACL grants on Storage does not work.
See original GitHub issueSo 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?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Ensure bucket ACL does not grant WRITE permission to AWS ...
An S3 bucket that allows WRITE access to AWS users allows attackers to create, overwrite and delete objects within the bucket, which can...
Read more >Get, set, or change bucket and/or object ACLs | Cloud Storage
The "acl ch" (or "acl change") command updates access control lists, similar in spirit to the Linux chmod command. You can specify multiple...
Read more >Replicating objects - Amazon Simple Storage Service
S3 Storage Lens is a cloud-storage analytics feature that you can use to gain ... bucket doesn't own the object in the bucket,...
Read more >Managing a Grant | ACL Administration for Community Living
To help you administer your grant award, the following sections offer general information, as well as links to ACL and other federal resources....
Read more >Configure Hive-HDFS ACL Sync | CDP Private Cloud
RMS ACL sync is designed to work on a specific pair of HDFS and Hive Ranger services. Therefore, it is important to identify...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Those docs may be leftovers from some early development: we’ve mostly avoided the
return self
chaining thing on purpose.Has this been done?