This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 91986b0987 Consolidate the permissions name in SlaMissModelView
(#34949)
91986b0987 is described below
commit 91986b0987dfa5e01a27ee166d8065d993f7315c
Author: Hussein Awala <[email protected]>
AuthorDate: Sun Oct 15 23:28:03 2023 +0200
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 799fea591a..308578a11d 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 = [