DiptoChakrabarty / flask-online-store

An online e commerce stores management and order placing system API built using flask and sqlalchemy . Various functionalities present and further functionalities being added to make it as real life as possible . Contributions welcome .
MIT License
49 stars 23 forks source link

store creation access #1

Closed DiptoChakrabarty closed 3 years ago

DiptoChakrabarty commented 3 years ago

Currently anyone who logs in can create a store , we want to have two classes of people customers and sellers.

We can achieve that by adding a parameter to all users which determines whether they are customers or sellers , if parameter is not passed during user creation they must be customer .

Only sellers must have permission to create stores and delete them , so database schema and request parameters must be handled appropriately .

rpdswtk commented 3 years ago

Hi! I would like to work on this issue.

DiptoChakrabarty commented 3 years ago

Sure @rpdswtk please go ahead

DiptoChakrabarty commented 3 years ago

Issue solved working