Let say I have 2 different User, respectively Student & Teacher, Now Teacher can see Student data but Student should not see Teacher’s data, and also Student can view/see only his own data.
→ Bcoz in same doc multi student can have access, but they should not be able to see each other data, they should be able to see only their own data.
Case 1: Restrict one student from seeing another student’s data
- Go to User Permission.
- Select the student’s user ID, set Doctype as Student, and assign the student’s own record in the For Value field.
- This will also apply to related records like Program Enrollment, and Results.
- Do the same for teachers if you want to restrict one teacher from seeing another teacher’s data.
Case 2: Restrict students from seeing teacher data
- In Role Permission Manager, allow teachers to view student records.
- Make sure students don’t have permission to view teacher records.