def METHOD_NAME(self):
    with self.no_rights_user_logged_in:
        response: Response = self.client.put(
            path=reverse(viewname="v1:tasklog-restart", kwargs={"task_pk": self.task.pk}),
        )
    log: AuditLog = AuditLog.objects.order_by("operation_time").last()
    self.assertEqual(response.status_code, HTTP_404_NOT_FOUND)
    self.check_log(
        log=log,
        operation_name=self.task_restarted_str,
        operation_result=AuditLogOperationResult.DENIED,
        user=self.no_rights_user,
        obj=self.adcm,
    )