kriss-u / e-commerce

0 stars 1 forks source link

Providing roles to customer and seller and admin #2

Open kriss-u opened 6 years ago

dineshdb commented 6 years ago

Not talking about the implementation details, how exactly are you considering using roles. Can a seller be a buyer, i.e. is it user specific or transaction specific?

kriss-u commented 6 years ago

seller cannot be a buyer.

dineshdb commented 6 years ago

in any scenario or some specific products? Basically, we can set a seller but a seller can buy some things from another seller (not necessarily required feature). But if you are trying to make it strict, create an entity and use discriminator values as in our dbms project. You might not find the same in auction project though.