Remove re-authing of users on downloads.
This was causing an issue on .com.
The `allowed_user` functionality works with logged in docs users,
whereas the `public()` queryset method doesn't.
@@ -313,11 +313,6 @@ class ProjectDownloadMediaBase(ServeDocsMixin, View):
if not self.allowed_user(request, final_project, version_slug):
return self.get_unauthed_response(request, final_project)
- version = get_object_or_404(
- final_project.versions.public(user=request.user),
- slug=version_slug,
- )
-
else:
# All the arguments come from the URL.
version = get_object_or_404(
