fix for interview visibility (#623)

This commit is contained in:
aditya singh rawat
2025-03-21 17:35:35 +05:30
committed by GitHub
parent 786dcbfe4d
commit 95752be07c

View File

@@ -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(