Was wondering if someone could give me some advice...
# orm-help
i
Was wondering if someone could give me some advice. I have two user types but need to authenticate/authorize both of them together as I normally would for a standard user type. For example, let’s say I have a Teacher and Student. Their data requirements are drastically different and they need to be 2 different types. Should I create a third user type called
User
and extends/implement the Teacher and Student types? Thanks ahead of time for your help! If someone’s willing to jump on a Skype/etc call with me, I’d be willing to pay you for an hour of your time in USD 😄
I should note, this is not what the exact API layout at work. I can’t actually give that information out or show you any of my code at work. If someone is willing to jump on a call with me, we’ll have to just talk about it or I can show you the problem with a codebase that has the same problem, but is my own personal project so no rules abotu showing it off 😄
l
I would extend user to have teacher and student types. It may be possible for a user to be a teacher and student so that could work well