def METHOD_NAME(
    admin_user, admin_client, environment, environment_api_key
):
    # Firstly, let's create the clone of the enviroment
    env_name = "Cloned env"
    url = reverse("api-v1:environments:environment-clone", args=[environment_api_key])
    res = admin_client.post(url, {"name": env_name})
    clone_env_api_key = res.json()["api_key"]
    # Now, fetch the permission of the newly creatd enviroment
    perm_url = reverse(
        "api-v1:environments:environment-user-permissions-list",
        args=[clone_env_api_key],
    )
    response = admin_client.get(perm_url)
    # Then, assert that current user is admin
    assert response.json()[0]["admin"] is True