yuseok89 commented on issue #62250:
URL: https://github.com/apache/airflow/issues/62250#issuecomment-4005745382

   Even though this test issue is already closed, I finished the remaining 
tests I was running and wanted to document the results.
   
   Because connections created via environment variables are not shown in the 
UI, I couldn't verify them the same way as in Tests 1&2. Instead, I used 
team-specific DAG bundles and ran per-team DAGs to check whether team-scoped 
env connections are applied correctly at runtime (see screenshots).
   
   <img width="181" height="225" alt="Image" 
src="https://github.com/user-attachments/assets/7937d64a-57a5-4d24-adc0-ebe77707c962";
 /> 
   
   <img width="181" height="229" alt="Image" 
src="https://github.com/user-attachments/assets/bb891144-867d-4044-9330-159095f98a79";
 />
   
   In a `team_a` DAG, using a `team_b` connection, and in a `team_b` DAG, using 
a `team_a` connection, both produced the following error message.
   `Connection not found: The conn_id '{conn_id}' isn't defined`
   So env-based connections also respect team isolation as expected. Each team 
DAG can only access its own team-scoped connections and non-team connections, 
and cannot access connections belonging to another team.


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