fix for interview visibility (#623)
This commit is contained in:
committed by
GitHub
parent
786dcbfe4d
commit
95752be07c
@@ -1434,7 +1434,7 @@ def interview_view(request):
|
||||
"""
|
||||
previous_data = request.GET.urlencode()
|
||||
|
||||
if request.user.has_perm("view_interviewschedule"):
|
||||
if request.user.has_perm("recruitment.view_interviewschedule"):
|
||||
interviews = InterviewSchedule.objects.all().order_by("-interview_date")
|
||||
else:
|
||||
interviews = InterviewSchedule.objects.filter(
|
||||
|
||||
Reference in New Issue
Block a user