seanghaeli commented on code in PR #66611:
URL: https://github.com/apache/airflow/pull/66611#discussion_r3455797537


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/connections.py:
##########
@@ -50,7 +50,10 @@ async def has_connection_access(
 
 router = APIRouter(
     responses={status.HTTP_404_NOT_FOUND: {"description": "Connection not 
found"}},
-    dependencies=[Depends(has_connection_access)],
+    dependencies=[
+        Security(require_auth, scopes=["token:execution", "token:workload"]),

Review Comment:
   Thanks, agreed, applied these changes such that workload token takes effect



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to