From 91986b0987dfa5e01a27ee166d8065d993f7315c Mon Sep 17 00:00:00 2001 From: Hussein Awala Date: Sun, 15 Oct 2023 23:28:03 +0200 Subject: [PATCH] Consolidate the permissions name in SlaMissModelView (#34949) --- airflow/www/views.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/airflow/www/views.py b/airflow/www/views.py index 799fea591a09a..308578a11de1d 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -4018,6 +4018,11 @@ class SlaMissModelView(AirflowModelView): class_permission_name = permissions.RESOURCE_SLA_MISS method_permission_name = { "list": "read", + "action_muldelete": "delete", + "action_mulnotificationsent": "edit", + "action_mulnotificationsentfalse": "edit", + "action_mulemailsent": "edit", + "action_mulemailsentfalse": "edit", } base_permissions = [