Sub customer inheritance customer permissions

am trying to create a property management system
i have case where is a Property owner(which is a customer in erpnext) can create users and assign to them which property (property he own ) they can see and manage !

so i want to extend customer permissions for this user to his employee … (they all my customer )

any help or best practices to do this

am thinking about opining an end point for user with role “X” to create only 4 users for example related to him with role “Y”
so when the front end asks for data i will let the api check if they are “y” → bring their father and return the data he allows to them to see …

i don’t know it seems bad design for me :frowning: but this what i can think of for now ?