This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/sbp by this push:
     new 1208305  Display a consistent binding vote status for admins
1208305 is described below

commit 1208305beb97ea33a9a24ad6057f609f15df25e6
Author: Sean B. Palmer <[email protected]>
AuthorDate: Tue Feb 3 15:57:42 2026 +0000

    Display a consistent binding vote status for admins
---
 atr/get/vote.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atr/get/vote.py b/atr/get/vote.py
index 9197afd..925724e 100644
--- a/atr/get/vote.py
+++ b/atr/get/vote.py
@@ -79,7 +79,7 @@ async def category_and_release(
     if session is None:
         return UserCategory.UNAUTHENTICATED, release, latest_vote_task
 
-    is_pmc_member = (user.is_committee_member(release.committee, session.uid)) 
or session.is_admin
+    is_pmc_member = user.is_committee_member(release.committee, session.uid)
     is_release_manager = (vote_initiator_uid is not None) and (session.uid == 
vote_initiator_uid)
 
     if is_pmc_member and is_release_manager:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to