Commit ec5ac4e0 authored by Yunhua Koglin's avatar Yunhua Koglin
Browse files

update

parent 039fd95d
......@@ -65,25 +65,17 @@ class AwsStorage(BlobStorageBase):
"s3:ListBucketVersions",
"s3:ListBucket"
],
'Resource': ["arn:aws:s3:::%s" % bucket ],
'Condition': {
'StringEquals': {
"s3:prefix": "%s/" % keypath
}
}
'Resource': ["arn:aws:s3:::%s" % bucket ]
},
{
'Sid': 'Two',
'Effect': 'Allow',
'Action': [
"s3:*"
"s3:ListBucket",
"s3:GetObject",
"s3:PutObject"
],
'Resource': ["arn:aws:s3:::%s/*" % bucket ],
'Condition': {
'StringLike': {
"s3:prefix": "%s/*" % keypath
}
}
'Resource': ["arn:aws:s3:::%s/*" % bucket ]
},
{
'Sid': "Three",
......
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