Commit 039fd95d authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

update policy

parent a6d37310
......@@ -12,5 +12,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.
__version__ = '0.0.2'
__version__ = '1.0.2'
......@@ -62,8 +62,8 @@ class AwsStorage(BlobStorageBase):
'Sid': 'One',
'Effect': 'Allow',
'Action': [
's3:ListBucketVersions',
's3:ListBucket'
"s3:ListBucketVersions",
"s3:ListBucket"
],
'Resource': ["arn:aws:s3:::%s" % bucket ],
'Condition': {
......@@ -78,7 +78,7 @@ class AwsStorage(BlobStorageBase):
'Action': [
"s3:*"
],
'Resource': ["arn:aws:s3:::%s" % bucket ],
'Resource': ["arn:aws:s3:::%s/*" % bucket ],
'Condition': {
'StringLike': {
"s3:prefix": "%s/*" % keypath
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment