优秀答案推荐
You need
你需要
DAG:<specific_dag>.can_edit
DAG Runs.can_read
DAG Runs.can_edit
DAG Runs.can_delete
Task Instances.can_read
Task Instances.can_edit
Task Instances.can_delete
To grant permission to clear past Airflow DAG execution in a specific DAG, you need to grant the following permission:
要授予清除特定DAG中过去气流DAG执行的权限,您需要授予以下权限:
DAG:<DAG_ID>:can_clear
This permission allows users to clear past DAG runs for the specified DAG. For example, to grant this permission to a user named alice for the DAG named my_dag, you would run the following command:
此权限允许用户清除指定DAG的过去DAG运行。例如,要为名为my_DAG的DAG向名为alice的用户授予此权限,您需要运行以下命令:
airflow permissions grant DAG:my_dag:can_clear alice
更多回答
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
正如目前所写的,你的答案还不清楚。请编辑以添加其他详细信息,以帮助其他人了解这是如何解决所问问题的。你可以在帮助中心找到更多关于如何写出好答案的信息。
我是一名优秀的程序员,十分优秀!