Rereading through this, I’m not sure I’m following your requirements.
Questions:
-
What’s the relationship between these “profiles” and the “roles” you named in your original post?
-
In standard “Django speak”, the term “Profile” is typically used to refer to a model containing ancillary data relative to the
User
model. It now seems apparent to me that you are using this to describe a set of permissions. Is that correct? -
It now sounds to me that these profiles are defined by school, such that profile “x” for school “A” has no functional relationship to profile “x” for school “B”. Is that correct?
-
It is also sounding like you’re saying that profile “x” for school “A” can imply a different set of permissions for person “L” than for person “M”. Is that correct?
- If that’s true, then what’s the logical significance of identifying something as profile “x”?
You might want to take a look at the thread at How to create Workspaces and manage them for all the users in Django? for yet another perspective on this.