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 b714fc98 Update a comment in the function to browse as another user
b714fc98 is described below

commit b714fc98fcb75056d5f1abdfee196f1b4b51587a
Author: Sean B. Palmer <[email protected]>
AuthorDate: Tue Feb 17 19:22:00 2026 +0000

    Update a comment in the function to browse as another user
---
 atr/admin/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atr/admin/__init__.py b/atr/admin/__init__.py
index ff075fe4..72b0d8f0 100644
--- a/atr/admin/__init__.py
+++ b/atr/admin/__init__.py
@@ -121,7 +121,7 @@ async def browse_as_get(session: web.Committer) -> str | 
web.WerkzeugResponse:
 @admin.form(BrowseAsUserForm)
 async def browse_as_post(session: web.Committer, browse_form: 
BrowseAsUserForm) -> str | web.WerkzeugResponse:
     """Allows an admin to browse as another user."""
-    # TODO: Enable this in debugging mode only?
+    # We specifically need to use this on the production server
     import atr.get.root as root
 
     new_uid = browse_form.uid


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

Reply via email to