I have three classes, As, Bs & Cs.
A has a M2M relationship with both B & C.
B has a M2M relationship with C.
For any given instance of A, I want to see all of its C's - either
directly via its M2M or inherited via its Bs. You can see why I said this
is basically identical to the user/group/permission setup.
I looked at django.contrib.auth.models and Group has a M2M
"permissions" and User has a M2M user_permissions, but all of the code
that I found referencing a user's effective permission set is going out to
the auth backends which I'm sure is not really what I want to do here. Is
there another place to look to find the best way to get what I want?