This is an automated email from the ASF dual-hosted git repository. akm pushed a commit to branch message-sending-comment-670 in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit 2114086874a1e61fc90cab445f562d56b92099c3 Author: Andrew K. Musselman <[email protected]> AuthorDate: Mon Mar 9 16:57:38 2026 -0700 Adding comment about sending mail to other committees; fixes #670 --- atr/tasks/message.py | 1 + 1 file changed, 1 insertion(+) diff --git a/atr/tasks/message.py b/atr/tasks/message.py index b7bfe3b6..17b03145 100644 --- a/atr/tasks/message.py +++ b/atr/tasks/message.py @@ -56,6 +56,7 @@ async def send(args: Send) -> results.Results | None: recipient_domain = args.email_recipient.split("@")[-1] sending_to_self = recipient_domain == f"{sender_asf_uid}@apache.org" + # audit_guidance this application intentionally allows users to send messages to committees they are not a part of sending_to_committee = recipient_domain.endswith(".apache.org") if not (sending_to_self or sending_to_committee): raise SendError(f"You are not permitted to send emails to {args.email_recipient}") --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
