Fix agent upload file permission (#16963)

Follow on #16946
This commit is contained in:
Wang Qi
2026-07-16 09:52:28 +08:00
committed by GitHub
parent e961ef04bf
commit 4518a588bd

View File

@@ -845,7 +845,6 @@ async def create_agent(tenant_id):
@manager.route("/agents/<agent_id>/upload", methods=["POST"]) # noqa: F821
@login_required
@login_required(auth_types=[AUTH_JWT, AUTH_API, AUTH_BETA])
@add_tenant_id_to_kwargs
@_require_canvas_access_async