feat(billing): implement tenant subscription entitlements system (milestones 0-6)
This commit is contained in:
22
docs/usage/s3_policy_docs_prefix.json
Normal file
22
docs/usage/s3_policy_docs_prefix.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Sid": "DocsListPrefixOnly",
|
||||
"Effect": "Allow",
|
||||
"Action": ["s3:ListBucket"],
|
||||
"Resource": "arn:aws:s3:::${S3_BUCKET_DOCS}",
|
||||
"Condition": {
|
||||
"StringLike": {
|
||||
"s3:prefix": ["${S3_PREFIX_DOCS}*", "${S3_PREFIX_DOCS}"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"Sid": "DocsObjectRWUnderPrefix",
|
||||
"Effect": "Allow",
|
||||
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
|
||||
"Resource": "arn:aws:s3:::${S3_BUCKET_DOCS}/${S3_PREFIX_DOCS}*"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user