I've set up a parent role in my Moodle instance according to the official documentation article.
When I logged in as a parent, I managed to gain access to the child profile as usual. However, I also managed to access all other profiles and view them by changing the id in the URL which looks like this:
Bu changing the STUDENTID value I can access all profiles in the system.
I would like to prevent parent users from accessing any profiles except for theirs and their children. Is that possible?