Skip to content

make ACL class standalone #28

@proppy

Description

@proppy

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.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions