Skip to content

Commit

Permalink
Do not set ACL because ACLs are deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw committed Nov 22, 2023
1 parent 606c2a6 commit 0b88c64
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 0b88c64

Please sign in to comment.