From 4dd3201d520fc1aeb682d9fc9e82f3f9bedf2776 Mon Sep 17 00:00:00 2001 From: Justin W Date: Mon, 16 Feb 2026 11:20:32 -0500 Subject: [PATCH] Use participant.app.organization in ParticipantView --- app/views/participant_view.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/participant_view.py b/app/views/participant_view.py index 8be5565..ede7284 100644 --- a/app/views/participant_view.py +++ b/app/views/participant_view.py @@ -1,7 +1,6 @@ from django.contrib.auth.decorators import login_required from django.http import HttpResponseForbidden, HttpResponseRedirect from django.shortcuts import render, reverse -from django.conf import settings from django.utils.decorators import method_decorator from django.views.generic import View @@ -20,7 +19,7 @@ def get(cls, request, participant_id, *args, **kwargs): data_retention_days = 30 - organization = participant.conference.app.organization + organization = participant.app.organization if request.user.organization != organization: return HttpResponseForbidden('You do not have permission to access this participant.')