Skip to content

Integrate user type field

Aashna Narang requested to merge an/integrate-user-type into dev

Integrate usage of user_type field in User table for EN-116

Details

  • Cannot make user type null in db
  • Left the add_user method that doesn't include user type, this defaults user type to 2 (client) which is the lowest permission level
  • Changed all apis and tests to use add_user_with_type
  • Can't modify user_type as of now

Testing

  • Ran unit tests and tested login/register/and all user apis to make sure they still work.
Edited by Aashna Narang

Merge request reports