Filter student by parent

I will create user who is parent of a students. When parent logins he/she should be able to see students who are kids of him/her only. How to implement this feature? Any suggestion?

@iamviji

you can add permission_query_conditions hooks for that.

Check Query Permissions

@iamviji

you need to add permission_query_conditions hooks for that.

Check https://github.com/frappe/frappe/blob/master/frappe/hooks.py#L76