### Apache Airflow version

main (development)

### What happened

Only users with the role `Admin` are allowed to use the action clear on the TaskInstance list view.

### What you think should happen instead

Users with role `User` should be able to clear task instance in the Task Instance page.

### How to reproduce

Try to clear Task instance while using a user with a `User` role.

### Operating System

Fedora 37

### Versions of Apache Airflow Providers

_No response_

### Deployment

Official Apache Airflow Helm Chart

### Deployment details

_No response_

### Anything else

_No response_

### Are you willing to submit PR?

- [X] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

("BT", "Bottom > Top"),
                ),
            )
        form = GraphForm(data=dt_nr_dr_data)
        form.execution_date.choices = dt_nr_dr_data["dr_choices"]
        task_instances = {}
        for ti in dag.get_task_instances(dttm, dttm):
            if ti.task_id not in task_instances:
                task_instances[ti.task_id] = wwwutils.get_instance_with_map(ti, session)
        tasks = {
            t.task_id: {
                "dag_id": t.dag_id,
                "task_type": t.task_type,
                "extra_links": t.extra_links,
                "is_mapped": isinstance(t, MappedOperator),
                "trigger_rule": t.trigger_rule,
            }
            for t in dag.tasks
        }
        if not tasks:
            flash("No tasks found", "error")
        session.commit()
        doc_md = wwwutils.wrapped_markdown(getattr(dag, "doc_md", None))
        task_log_reader = TaskLogReader()
        if task_log_reader.supports_external_link:
            external_log_name = task_log_reader.log_handler.log_name
        else:
            external_log_name = None
        state_priority = ["no_status" if p is None else p for p in wwwutils.priority]
        return self.render_template(