简体   繁体   English

Airflow 从 airflow UI 禁用“删除 DAG”选项

[英]Airflow to disable "delete DAGs" option from airflow UI

Is there any parameter can be configured to restrict users not to delete any of the DAGs from UI?是否可以配置任何参数来限制用户不从 UI 中删除任何 DAG? Or Disable the DELTE button?还是禁用 DELTE 按钮?

If the users are on another role other than Admin,如果用户是管理员以外的其他角色,
you can remove the can delete on Airflow permission from the role.您可以从角色can delete on Airflow

可以删除 Airflow 权限

While the button will still be visible, they will get permissions denied when trying to delete a DAG.虽然该按钮仍然可见,但在尝试删除 DAG 时,他们将获得权限被拒绝。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM