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 085e2969 Allow wider access to files and check results
085e2969 is described below

commit 085e2969d809befc05d63a4c24222b572b51ed46
Author: Dave Fisher <[email protected]>
AuthorDate: Mon Mar 2 12:24:37 2026 -0800

    Allow wider access to files and check results
---
 atr/get/file.py   | 2 --
 atr/get/report.py | 1 -
 2 files changed, 3 deletions(-)

diff --git a/atr/get/file.py b/atr/get/file.py
index 40b9081a..c0f3f9c4 100644
--- a/atr/get/file.py
+++ b/atr/get/file.py
@@ -46,7 +46,6 @@ async def selected(
     URL: /file/<project_name>/<version_name>
     View all the files in a release (any phase).
     """
-    await session.check_access(project_name)
     release = await session.release(str(project_name), str(version_name), 
phase=None)
 
     revision_number = release.latest_revision_number
@@ -150,7 +149,6 @@ async def selected_path(
     URL: /file/<project_name>/<version_name>/<path:file_path>
     View the content of a specific file in a release (any phase).
     """
-    await session.check_access(project_name)
     validated_path = form.to_relpath(str(file_path))
     if validated_path is None:
         raise web.FlashError("Invalid file path")
diff --git a/atr/get/report.py b/atr/get/report.py
index 995cb098..33b99686 100644
--- a/atr/get/report.py
+++ b/atr/get/report.py
@@ -45,7 +45,6 @@ async def selected_path(
     URL: /report/<project_name>/<version_name>/<rel_path>
     Show the report for a specific file.
     """
-    await session.check_access(project_name)
     validated_path = form.to_relpath(rel_path)
     if validated_path is None:
         raise base.ASFQuartException("Invalid file path", errorcode=400)


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

Reply via email to