chenjunkai 6 years ago
parent
commit
5cb2dd3523
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Controller/StsOssController.py

+ 2 - 2
Controller/StsOssController.py

@@ -72,8 +72,8 @@ class StsOssView(View):
                     # "Action": ["oss:PutObject", "oss:DeleteObject", "oss:GetObject", "oss:List*"],
                     # "Action": ["oss:PutObject", "oss:DeleteObject", "oss:GetObject", "oss:List*"],
                     "Action": ["*"],
                     "Action": ["*"],
                     # "Action": ["*"],
                     # "Action": ["*"],
-                    # "Resource": [Resource_access],
-                    "Resource": ["*"],
+                    "Resource": [Resource_access],
+                    # "Resource": ["*"],
                     "Effect": "Allow",
                     "Effect": "Allow",
                     "Condition": {
                     "Condition": {
                         # "IpAddress": {"acs:SourceIp": ip}
                         # "IpAddress": {"acs:SourceIp": ip}