lang 4 жил өмнө
parent
commit
435b6df6ba

+ 2 - 2
Controller/CloudStorage.py

@@ -359,8 +359,8 @@ class CloudStorageView(View):
                         {
                             "Effect": "Allow",
                             "Action": "s3:*",
-                            "Resource": ["arn:aws:s3:::azvod1/{uid_channel}/*".
-                                             format(uid_channel=storage)]
+                            "Resource": ["arn:aws:s3:::{bucket_name}/{uid_channel}/*".
+                                             format(bucket_name=bucket_name,uid_channel=storage)]
                         }
                     ]
                 }