CKShare - Partially shared hierarchy

Hi I'm new to CLOUDKIT

Admin - user (top level)
Teacher A, Teacher B - users (second level)

I have a school app has the following records type

HeadTeacher - rootRecord - shared to Admin
Teacher - parent with HeadTeacher
Student - parent with Teacher

I've created a CKShare at HeadTeacher and shared the link to Admin, now the Admin can have the window to view all the records of HeadTeacher, Teacher and Student, everything is fine.

Teacher A, Teacher B want to access their respective Records only, while creating a CKShare at Teacher record I'm getting conflicting error.

Please help me to solve. thanks

CKShare - Partially shared hierarchy
 
 
Q