From 19882d30a32b9cdf0d69416bfb928cfe9634b943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Mon, 28 Aug 2017 11:11:03 +0200 Subject: [PATCH] staff access to program before publication --- cfp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfp/views.py b/cfp/views.py index 24a8082..6afc851 100644 --- a/cfp/views.py +++ b/cfp/views.py @@ -486,7 +486,7 @@ def schedule(request, program_format, pending, cache, template): def public_schedule(request, program_format): - if not request.conference.schedule_available: + if not request.conference.schedule_available and not is_staff(request, request.user): raise PermissionDenied return schedule(request, program_format=program_format, pending=False, cache=True, template='cfp/schedule.html')