I'm just wondering is there better approach.
I have users in one system. However, there are few types. The point of having types is that each type has different additional data related to it. For example i have user types: students, professors, management and staff. Students have some additional info that professors don't have etc.
On the other side i have groups. For example,there is a group for each subject. So professor and student can be in same group concerning the subject.
My question, is this approach good enough for structuring data? Would that be better to not have different types of users but rather have user's group's data so that every user can belong to a group student or professors and that according to that, they can have more specific data?
Please help me to decide.
p.s. So right now i have this tables:
users (with type field)
students
professors
management
staff
groups (many groups, various and base for ACL)