Skip to content

Commit

Permalink
add HeadObject to Read Object Access Permissions (#409)
Browse files Browse the repository at this point in the history
Collaborators who are accessing a bucket created from the synapse-external-bucket.j2 template are encountering "Access denied when performing HeadObject" errors. This PR addresses this issue by explicitly granting HeadObject permissions to principals who have read access to the bucket.
  • Loading branch information
wpoehlm authored Apr 2, 2024
1 parent cbf86aa commit 97d1969
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/S3/synapse-external-bucket.j2
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ Resources:
- "s3:GetObject"
- "s3:GetObjectAcl"
- "s3:ListMultipartUploadParts"
- "s3:HeadObject"
Resource: [ !Sub "${Bucket.Arn}/*" ]
- !If
- AllowWrite
Expand Down

0 comments on commit 97d1969

Please sign in to comment.