This is an automated email from the ASF dual-hosted git repository.
wave pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/main by this push:
new 021bca96 Adding comment about sending mail to other committees; fixes
#670 (#845)
021bca96 is described below
commit 021bca9659b9a4c8f985357b1a72170532655cae
Author: Andrew Musselman <[email protected]>
AuthorDate: Mon Mar 9 17:40:04 2026 -0700
Adding comment about sending mail to other committees; fixes #670 (#845)
---
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]