Help with users record managemen IN CODE!

hi my friends!

Qs here is, i have a list of patients (clinic_patients), and i want to restrict acces to my users to not view all of them, only that they create of their own.

BUT! i am working on a code side because i lost the .ppm proyect and only have my backup in host, so after months i manage to do my stuff in the hard way… i dont know if there’s a way to re-compress all the stuff again and back to work on my rad classic (?)… anyway, if there is a way to do via code in the system im really glad to know what files or what code or controller is requiered to edit.

thanks in advance!!!

nothing??? no code for this task?