Skip to content

Commit

Permalink
Add missing audit logs for Flask actions add, edit and delete (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-awala authored Sep 5, 2023
1 parent d81fe09 commit 988632f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5247,6 +5247,8 @@ class DagRunModelView(AirflowPrivilegeVerifierModelView):

class_permission_name = permissions.RESOURCE_DAG_RUN
method_permission_name = {
"delete": "delete",
"edit": "edit",
"list": "read",
"action_clear": "edit",
"action_muldelete": "delete",
Expand Down Expand Up @@ -5625,6 +5627,7 @@ class TaskInstanceModelView(AirflowPrivilegeVerifierModelView):
class_permission_name = permissions.RESOURCE_TASK_INSTANCE
method_permission_name = {
"list": "read",
"delete": "delete",
"action_clear": "edit",
"action_muldelete": "delete",
"action_set_running": "edit",
Expand Down

0 comments on commit 988632f

Please sign in to comment.