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

sbp 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 6af5945  Add an environment variable to accept extra administrators
6af5945 is described below

commit 6af5945e616563f7fbc99f7619d8e0ab54d34247
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Oct 24 19:35:46 2025 +0100

    Add an environment variable to accept extra administrators
---
 atr/config.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/atr/config.py b/atr/config.py
index 082f56e..85056ff 100644
--- a/atr/config.py
+++ b/atr/config.py
@@ -83,6 +83,7 @@ class AppConfig:
     EXTRACT_CHUNK_SIZE: int = decouple.config("EXTRACT_CHUNK_SIZE", default=4 
* _MB, cast=int)
 
     # FIXME: retrieve the list of admin users from LDAP or oath session / 
isRoot
+    ADMIN_USERS_ADDITIONAL = decouple.config("ADMIN_USERS_ADDITIONAL", 
default="", cast=str)
     ADMIN_USERS = frozenset(
         {
             "cwells",
@@ -94,6 +95,7 @@ class AppConfig:
             "tn",
             "wave",
         }
+        | set(ADMIN_USERS_ADDITIONAL.split(",") if ADMIN_USERS_ADDITIONAL else 
[])
     )
 
 


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

Reply via email to