def METHOD_NAME(self):
    """verify that only active tools policies are evaluated
    1. verify that anybody can import users (tools/import_users)) if no
       tools policy is defined at all
    2. define a tools policy and verify that this admin is able to import
       users
    3. verify that other users are not able to import users
    4. verify that other users are not able to import users
       as disabling a policy has the same effect as deleting it
    5. verify that other users are able to import users if the policy
       becomes active.
    6. when all policies are disabled, no access restrictions are set
    7. if a policy of a different scope is set this has no impact on the
       current scope - no restriction will be given
    """
    # 1. verify that anybody can import users (tools/import_users)) if no
    #    tools policy is defined at all
    response = self.import_users(file_name="4users.csv", auth_user="hans")
    assert response.json["result"]["status"]
    # 2. define a tools policy and verify that this admin is able to
    # import users
    params = {
        "name": "super_admin",
        "scope": "tools",
        "action": "import_users",
        "active": True,
        "user": "admin",
        "realm": "*",
    }
    response = self.make_system_request("setPolicy", params=params)
    assert "false" not in response, response
    response = self.import_users(file_name="4users.csv", auth_user="admin")
    assert response.json["result"]["status"]
    # 3. verify that other users are not able to import users
    response = self.import_users(file_name="4users.csv", auth_user="hans")
    assert not response.json["result"]["status"]
    # 4. verify that other users are not able to import users even as
    #    disabling a policy has the same effect as deleting it
    params = {
        "name": "no_full_admin",
        "scope": "tools",
        "action": "import_users",
        "active": False,
        "user": "hans",
        "realm": "*",
    }
    response = self.make_system_request("setPolicy", params=params)
    assert "false" not in response, response
    response = self.import_users(file_name="4users.csv", auth_user="hans")
    assert not response.json["result"]["status"]
    # 5. verify that other users are able to import users if the policy
    #    becomes active.
    params = {
        "name": "no_full_admin",
        "scope": "tools",
        "action": "import_users",
        "active": True,
        "user": "hans",
        "realm": "*",
    }
    response = self.make_system_request("setPolicy", params=params)
    assert "false" not in response, response
    response = self.import_users(file_name="4users.csv", auth_user="hans")
    assert response.json["result"]["status"]
    # 6. when all policies are disabled, no access restrictions are set
    params = {
        "name": "no_full_admin",
        "scope": "tools",
        "action": "import_users",
        "active": False,
        "user": "hans",
        "realm": "*",
    }
    response = self.make_system_request("setPolicy", params=params)
    assert "false" not in response, response
    params = {
        "name": "super_admin",
        "scope": "tools",
        "action": "import_users",
        "active": False,
        "user": "admin",
        "realm": "*",
    }
    response = self.make_system_request("setPolicy", params=params)
    assert "false" not in response, response
    response = self.import_users(file_name="4users.csv", auth_user="hans")
    assert response.json["result"]["status"]
    response = self.import_users(file_name="4users.csv", auth_user="admin")
    assert response.json["result"]["status"]
    # 7. if a policy of a different scope is set this has no impact on the
    #    current scope - no restriction will be given
    params = {
        "name": "super_admin",
        "scope": "audit",
        "action": "view",
        "active": True,
        "user": "admin",
        "realm": "*",
    }
    response = self.make_system_request("setPolicy", params=params)
    assert "false" not in response, response
    response = self.make_system_request("getRealms", auth_user="hans")
    assert response.json["result"]["status"]