Hi all,
I am creating a project that will require two different user roles: An Instructor role and a Student role. Both will use a common login form. An Instructor can assign a Student to a Course. Both will have access to different parts of the system.
I wish to know the best way to model this. Currently I'm thinking of the following:
1) Use a single User model having a user_type field
2) Create Instructor and Student model that both inherit from base User model.
3) Create an Instructor and a Student group and then assign people to the correct group based on some value at the time of registration.
Is there a better way to handle this apart from the above? What are the best practices to follow in this case? Or perhaps add a UserProfile?
Regards,
Frankline