def METHOD_NAME(self, params: RequestParameters) -> List[FileDownloadDTO]:
    if not params.user:
        raise MustBeAuthenticatedError()
    downloads = (
        self.repository.get_all()
        if params.user.is_site_admin()
        else self.repository.get_all(params.user.impersonator)
    )
    self._clean_up_expired_downloads(downloads)
    return [d.to_dto() for d in downloads]