From 5944bb5577f2ab9aaf69f8981cb3a918eb2c02f4 Mon Sep 17 00:00:00 2001 From: James Tauber Date: Thu, 11 Oct 2012 22:41:45 -0400 Subject: [PATCH] fix speaker editing so staff can edit rather than rely on group --- symposion/speakers/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symposion/speakers/views.py b/symposion/speakers/views.py index 54716e88..03c6c3b2 100644 --- a/symposion/speakers/views.py +++ b/symposion/speakers/views.py @@ -79,7 +79,7 @@ def speaker_edit(request, pk=None): except Speaker.DoesNotExist: return redirect("speaker_create") else: - if request.user.groups.filter(name="organizer").exists(): # @@@ + if request.user.is_staff: speaker = get_object_or_404(Speaker, pk=pk) else: raise Http404()