staff access to program before publication

This commit is contained in:
Élie Bouttier 2017-08-28 11:11:03 +02:00
parent cf1c57585e
commit 19882d30a3
1 changed files with 1 additions and 1 deletions

View File

@ -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')