Skip to content

Commit

Permalink
Merge pull request #198 from 2i2c-org/version-2
Browse files Browse the repository at this point in the history
Make version pages publicly available for everyone to see
  • Loading branch information
yuvipanda authored Nov 23, 2024
2 parents e99103e + 27a2b15 commit ea12e27
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frx_challenges/web/views/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ea12e27

Please sign in to comment.