-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone
Description
currently the ACL class is just a container and fetching the actual metadata is done with either the Bucket or the Key class, it would be nice to make the ACL class standalone.
Something like:
acl = storage.ACL('/path/to/bucket') # or /path/to/key
acl.grant(user_email='proppy@google.com', perm=ACL.READ)
# or
acl.grant['proppy@google.com'] = ACL.READ
acl.save()
print acl.get(user_email='proppy@googe.com')
# or
print acl['proppy@google.com']
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.