All interview can see all the employee
but i want if one interview scheduled and in the interviewer list if my name is add then this interview only can see interviewer but now everyone can see
how to restrict it
if anyone is interviewer for that interview then only see this intervirew to that employee other hide from them
that for, you have to use the Permission Query to override the permission.
@Rahul7218 try this
if user == "Administrator":
pass
else:
conditions = '(`tabInterview`.name in (select `tabInterview Detail`.parent from `tabInterview Detail` where `tabInterview Detail`.interviewer = \'' + user + '\'' + '))'