-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
backendBack-end jobBack-end jobgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededpriority:lowLow priority taskLow priority task
Description
To-do
We are using numbers (0,1,2) to represent user-type throughout our code. This can be ambiguous and confusing for developers. Instead, let's use an enum type - TYPE_ADMIN, TYPE_EB, TYPE_USER, etc. Let's have these enums in the user model itself and translate them to numbers for using with Mongo.
Checklist
- Change the model
- Change all occurrences in code
Metadata
Metadata
Assignees
Labels
backendBack-end jobBack-end jobgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededpriority:lowLow priority taskLow priority task