From 27a2b15257a32dab0dd90acf7d81b7d37e6c878c Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Sat, 23 Nov 2024 00:15:20 -0800 Subject: [PATCH] Make version pages publicly available for everyone to see Not just people who are collaborators on that submission --- frx_challenges/web/views/versions.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frx_challenges/web/views/versions.py b/frx_challenges/web/views/versions.py index 903abb0..caff357 100644 --- a/frx_challenges/web/views/versions.py +++ b/frx_challenges/web/views/versions.py @@ -55,10 +55,6 @@ def view(request: HttpRequest, id: int) -> HttpResponse: version = Version.objects.get(id=id) evaluation = version.latest_evaluation - is_collaborator = _validate_collaborator(request, version.submission_id) - if not is_collaborator: - raise Http404("You are not a collaborator of this submission.") - results_display = [] if evaluation.result: for dc in settings.EVALUATION_DISPLAY_CONFIG: