vincbeck commented on code in PR #37232:
URL: https://github.com/apache/airflow/pull/37232#discussion_r1482048850


##########
airflow/www/views.py:
##########
@@ -1320,76 +1320,7 @@ def legacy_dag_details(self):
     @provide_session
     def dag_details(self, dag_id, session: Session = NEW_SESSION):
         """Get Dag details."""
-        from airflow.models.dag import DagOwnerAttributes

Review Comment:
   Please remove `@auth.has_access_dag("GET", DagAccessEntity.RUN)` on line 
1319. Authz should be done on the final page in case of redirection



-- 
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: commits-unsubscr...@airflow.apache.org

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

Reply via email to