Skip to content

Commit 3f6381e

Browse files
committed
Allow conf moderators to view dashboard
1 parent e5ee22b commit 3f6381e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junction/proposals/dashboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def proposals_dashboard(request, conference_slug):
131131
def reviewer_comments_dashboard(request, conference_slug):
132132
conference = get_object_or_404(Conference, slug=conference_slug)
133133

134-
if not request.user.is_superuser:
134+
if not is_conference_moderator(user=request.user, conference=conference):
135135
raise PermissionDenied
136136
conference_reviewers = ConferenceProposalReviewer.objects.filter(
137137
conference=conference, active=True)

0 commit comments

Comments
 (0)