Class wise timetable shows

i have create custom doctype ‘Exam Timetable’ in that this fields

now i want when student login there system if student belongs to class 5 then that student only shows class 5 time table but now he can see all class time table

Hi @Rahul7218
Set the user permission on student user.

Allow Doctype as Class
For value as "Class 5"

then permission applied on all documents