vatsrahul1001 commented on code in PR #66608:
URL: https://github.com/apache/airflow/pull/66608#discussion_r3461541905


##########
airflow-core/src/airflow/api_fastapi/execution_api/routes/connections.py:
##########
@@ -49,15 +54,19 @@ async def has_connection_access(
 
 
 router = APIRouter(
+    route_class=ExecutionAPIRoute,
     responses={status.HTTP_404_NOT_FOUND: {"description": "Connection not 
found"}},
-    dependencies=[Depends(has_connection_access)],
 )
 
 log = logging.getLogger(__name__)
 
 
 @router.get(
     "/{connection_id}",
+    dependencies=[
+        Security(require_auth, scopes=["token:execution", "token:workload"]),

Review Comment:
   Yes we should revert to unblock 3.3.0b2 and we can figure out solution for 
this meanwhile



-- 
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