You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/02 22:04:40 UTC

[GitHub] [airflow] jpyen commented on issue #16228: API ListDAGs inconsistent with Web View/CLI

jpyen commented on issue #16228:
URL: https://github.com/apache/airflow/issues/16228#issuecomment-853413422


   Is it possible that `/api/v1/dags` is only listing DAGs the current user has access to - present or not?
   https://github.com/apache/airflow/blob/main/airflow/api_connexion/endpoints/dag_endpoint.py#L64
   
   
   In contrast the UI seems to get the DAG list ground-truth from here: https://github.com/apache/airflow/blob/8505d2f0a4524313e3eff7a4f16b9a9439c7a79f/airflow/www/views.py#L551 and then uses  `get_accessible_dag_ids` to only show a selection. 
   
   Is this assessment correct?
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org