I have a problem and I’m not sure if it’s specific for Patients or something general. Currently, I have it working that a user can only access some Patients because the Patient is linked to a Customer Group and the user has a User Permission, allowing access to that Customer Group.
However, the user can still see all Patient Assessments, also from Patients the user cannot see. I’m not sure if there’s some general option in ERPNext to restrict relational records, but it does not seem to work out of the box.
How to solve so the user can only see Patient Assessments of the Patients the user has access to.