I have a model Application that has fields applicant = ForeignKey('User'...) and coapplicant = ForeignKey('User'...).
There is also a model Income that has field user = ForeignKey('User'....
I want to allow User A to create, edit, delete Income objects of User B if A and B are in a relationship through Application.
That means:
User A can CRUD Incomes of User B and vice-versa if there is such Application object where A is an applicant and B co-applicant or A is a co-applicant and B applicant.
Do you know how to make that work?