code: def client_dr_without_dag_run_create(app):
      create_user(
          app,
          username="all_dr_permissions_except_dag_run_create",
          role_name="all_dr_permissions_except_dag_run_create",
          permissions=[
              (
                  permissions.ACTION_CAN_READ,
                  permissions.RESOURCE_WEBSITE,
              ),
              (permissions.ACTION_CAN_READ, permissions.RESOURCE_DAG),
              (
                  permissions.ACTION_CAN_READ,
                  permissions.RESOURCE_DAG_RUN,
              ),
              (
                  permissions.ACTION_CAN_EDIT,
                  permissions.RESOURCE_DAG_RUN,
              ),
              (
                  permissions.ACTION_CAN_DELETE,
                  permissions.RESOURCE_DAG_RUN,
              ),
              (
                  permissions.ACTION_CAN_ACCESS_MENU,
                  permissions.RESOURCE_DAG_RUN,
              ),
          ],
      )
  
      yield client_with_login(
          app,
          username="all_dr_permissions_except_dag_run_create",
          password="all_dr_permissions_except_dag_run_create",
      )
  
      delete_user(app, username="all_dr_permissions_except_dag_run_create")  # type: ignore
      delete_roles(app)
  
imports: from __future__ import annotations
  import pytest
  from airflow.models import DagBag, DagRun, TaskInstance
  from airflow.security import permissions
  from airflow.utils import timezone
  from airflow.utils.session import create_session
  from airflow.www.views import DagRunModelView
  from tests.test_utils.api_connexion_utils import create_user, delete_roles, delete_user
  from tests.test_utils.www import check_content_in_response, check_content_not_in_response, client_with_login
  from tests.www.views.test_views_tasks import _get_appbuilder_pk_string
label_desc: Use image node_id 2 for calling a global function with example usage: client_dr_without_dag_run_create(app) without return types