I am using the backend in wordpress and plugin ACF to make a pupil management system for a home tuition service.
As you can see in the image I have turned the "posts" into "pupils":
I have teachers who are registered as "editors". When the editors login at the moment they can see all the pupils. I only want them to be able to see their pupils.
My question is how do I assign editors to specific posts so they can only access and edit posts they have been assigned to?