bbovenzi commented on code in PR #23332:
URL: https://github.com/apache/airflow/pull/23332#discussion_r861047045
##########
airflow/www/templates/airflow/dag.html:
##########
@@ -82,6 +82,9 @@
{% endif %}
{% if external_log_name is defined %}
<meta name="external_log_name" content="{{ external_log_name }}">
+ {% if appbuilder.sm.can_edit_dag(dag.dag_id) %}
+ <meta name="can_edit" content="{{ appbuilder.sm.can_edit_dag(dag.dag_id) }}">
Review Comment:
This is only checking edit permissions on the DAG. Is there an easy way to
check Task Instance and DAG Run edit perrmissions via FAB?
--
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]