|
@@ -71,10 +71,10 @@ class StsOssView(View):
|
|
|
"Version": "1",
|
|
|
"Statement": [
|
|
|
{
|
|
|
- # "Action": ["oss:PutObject", "oss:DeleteObject", "oss:GetObject",""],
|
|
|
- "Action": ["*"],
|
|
|
- # "Resource": [Resource_access],
|
|
|
- "Resource": ["*"],
|
|
|
+ "Action": ["oss:PutObject", "oss:DeleteObject", "oss:GetObject","oss:ListObjects"],
|
|
|
+ # "Action": ["*"],
|
|
|
+ "Resource": [Resource_access],
|
|
|
+ # "Resource": ["*"],
|
|
|
"Effect": "Allow",
|
|
|
"Condition": {
|
|
|
# "IpAddress": {"acs:SourceIp": ip}
|