aboutsummaryrefslogtreecommitdiff
path: root/profile-avatar-policy.json
diff options
context:
space:
mode:
Diffstat (limited to 'profile-avatar-policy.json')
-rw-r--r--profile-avatar-policy.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/profile-avatar-policy.json b/profile-avatar-policy.json
new file mode 100644
index 0000000..7f2ec04
--- /dev/null
+++ b/profile-avatar-policy.json
@@ -0,0 +1,15 @@
+{
+ "Version": "2012-10-17",
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": [
+ "s3:GetObject"
+ ],
+ "Resource": [
+ "arn:aws:s3:::storage/users/*/profile/avatar_*.webp"
+ ],
+ "Principal": "*"
+ }
+ ]
+}