Azure / azure-storage-python

Microsoft Azure Storage Library for Python
https://azure-storage.readthedocs.io
MIT License
338 stars 240 forks source link

Missing ContainerPermissions Add + Create #571

Closed jrauschenbusch closed 5 years ago

jrauschenbusch commented 5 years ago

Which service(blob, file, queue) does this issue concern?

Blob

Which version of the SDK was used?

azure-storage-blob v1.5.0

What problem was encountered?

ADD and CREATE cannot be used as permissions, but they are documented here: https://docs.microsoft.com/en-us/rest/api/storageservices/constructing-a-service-sas#specifying-permissions

Have you found a mitigation/solution?

Add ADD and CREATE as additional permissions.

Related issue: https://github.com/Azure/azure-cli/issues/8809

zezha-msft commented 5 years ago

@jrauschenbusch, thanks for reaching out! I've logged this issue to follow up on fixing it.

xiafu-msft commented 5 years ago

the bug is fixed in azure-storage-blob version 2.0.1