Skip to content

Commit

Permalink
Merge pull request #449 from nationalarchives/remove-ACL
Browse files Browse the repository at this point in the history
Do not set ACL because ACLs are deprecated
  • Loading branch information
dragon-dxw authored Nov 22, 2023
2 parents 606c2a6 + 0b88c64 commit 9e6680b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caselawclient/models/utilities/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def publish_documents(uri: str) -> None:

if not key.endswith("parser.log") and not key.endswith(".tar.gz"):
source: CopySourceTypeDef = {"Bucket": private_bucket, "Key": key}
extra_args = {"ACL": "public-read"}
extra_args: dict[str, str] = {}
try:
client.copy(source, public_bucket, key, extra_args)
except botocore.client.ClientError as e:
Expand Down

0 comments on commit 9e6680b

Please sign in to comment.