chenjunkai há 6 anos atrás
pai
commit
48027776bf
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      Controller/StsOssController.py

+ 2 - 2
Controller/StsOssController.py

@@ -73,7 +73,7 @@ class StsOssView(View):
             "Version": "1",
             "Statement": [
                 {
-                    "Action": ["oss:PutObject", "oss:DeleteObject", "oss:GetObject"],
+                    "Action": ["oss:PutObject", "oss:DeleteObject", "oss:GetObject","oss:List*"],
                     # "Action": ["*"],
                     "Resource": [Resource_access],
                     # "Resource": ["*"],
@@ -91,7 +91,7 @@ class StsOssView(View):
                         "oss:ListObjects"
                     ],
                     "Resource": [
-                        "acs:oss:*:*:{userID}".format(userID=userID)
+                        "acs:oss:*:*:151564262337939513800138001"
                     ],
                     "Condition": {
                         "StringLike": {