Skip to content

Commit

Permalink
Consolidate the permissions name in SlaMissModelView (#34949)
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-awala authored Oct 15, 2023
1 parent 9f55fd6 commit 91986b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 91986b0

Please sign in to comment.