aboutsummaryrefslogtreecommitdiff
path: root/profile-avatar-policy.json
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-10-24 20:17:59 +0200
committerschererleander <leander@schererleander.de>2025-10-24 20:17:59 +0200
commitc0681c0b90d789a4e2a811e73f8bf9843df4e71a (patch)
tree87ac01d4591f094ddfe457e32ca24a3a2c8bbb09 /profile-avatar-policy.json
parente40c7f4d1af429d9289f71890e210a2bd943d174 (diff)
fix profile avatar policy
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": "*"
+ }
+ ]
+}