-
Notifications
You must be signed in to change notification settings - Fork 4
/
S3Policy_for_tests.json
54 lines (54 loc) · 1.26 KB
/
S3Policy_for_tests.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "s3:PutObjectAcl",
"Resource": "arn:aws:s3:::matecat-phpunit-tests-s3*/*"
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": [
"s3:PutAccelerateConfiguration",
"s3:CreateBucket",
"s3:ListBucket",
"s3:Get*",
"s3:DeleteBucketPolicy",
"s3:PutLifecycleConfiguration",
"s3:PutBucketAcl",
"s3:GetBucketAcl",
"s3:PutBucketPolicy",
"s3:DeleteBucket",
"s3:PutBucketVersioning"
],
"Resource": "arn:aws:s3:::matecat-phpunit-tests-s3*"
},
{
"Sid": "VisualEditor2",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:Get*",
"s3:DeleteObjectVersion",
"s3:PutObjectVersionAcl",
"s3:RestoreObject",
"s3:DeleteObject",
"s3:PutObjectAcl"
],
"Resource": "arn:aws:s3:::matecat-phpunit-tests-s3*/*"
},
{
"Sid": "VisualEditor3",
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:ListBucketVersions",
"s3:GetObjectVersionAcl",
"s3:GetObjectVersion"
],
"Resource": "*"
}
]
}