Midburn / spark

"burn in a box" suite of services that composes everything required to run a burn event throughout the year
Apache License 2.0
18 stars 46 forks source link

Change status and add role columns (#984) #995

Open yonatanbashan opened 5 years ago

yonatanbashan commented 5 years ago

Proposed solution

Have a "Status" and "Role" columns. Status could be "Approved" or "Pending", and Role could be "Manager" or "Member". This was done without changing anything in the DB, only FE/BE changes. Extracting the info from values such as "approved_mgr" to be "Status --> Approved, Role --> Manager".

Tradeoffs

To enable this split, the jade code is a bit less pretty. Maybe someone could advice how to make this more nicely.

Testing Done

Yes