forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reenable clear on TaskInstanceModelView for role User
The action was disable in apache#20659 which resolved apache#20655. The issue only mentions that the edit is broken and should be disabled. So it seem like the disabling of the clear action was unintentional. Also based on the discussion in the PR apache#20655 further reinforces this. That the author believed it still worked could be explain by that using a user with role `Admin` the action was still available and therefore one could easily make a mistake believing it still worked as expected. This PR reenables it action and modifies and existing test case to also verify that clearing is possible using a user with the role `User`.
- Loading branch information
Emil Ejbyfeldt
committed
Apr 12, 2023
1 parent
2ce1130
commit 69eb66b
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters