From a0e7575335498a493b1a0ed1eb3fd9a953ac7cb3 Mon Sep 17 00:00:00 2001 From: Sven Dorkenwald Date: Wed, 6 Dec 2023 15:53:32 -0800 Subject: [PATCH] removed auth_required from before and after requests --- pychunkedgraph/app/meshing/v1/routes.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pychunkedgraph/app/meshing/v1/routes.py b/pychunkedgraph/app/meshing/v1/routes.py index a5e55457a..65c6b7324 100644 --- a/pychunkedgraph/app/meshing/v1/routes.py +++ b/pychunkedgraph/app/meshing/v1/routes.py @@ -46,13 +46,11 @@ def home(): @bp.before_request -@auth_required def before_request(): return app_common.before_request() @bp.after_request -@auth_required def after_request(response): return app_common.after_request(response) @@ -66,10 +64,11 @@ def unhandled_exception(e): def api_exception(e): return app_common.api_exception(e) + ## VALIDFRAGMENTS -------------------------------------------------------------- @bp.route("/table//node//validfragments", methods=["GET"]) @auth_requires_permission("view") -@remap_public +@remap_public(edit=False) def handle_valid_frags(table_id, node_id): return common.handle_valid_frags(table_id, node_id) @@ -82,7 +81,7 @@ def handle_valid_frags(table_id, node_id): public_node_key="node_id", service_token=AUTH_TOKEN, ) -@remap_public +@remap_public(edit=False) def handle_get_manifest(table_id, node_id): return common.handle_get_manifest(table_id, node_id)