Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions app/views/participant_view.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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.')

Expand Down