zgzgorg / iam-backend

0 stars 2 forks source link

Implement user update API #6

Closed kis87988 closed 3 years ago

kis87988 commented 3 years ago

after the read feature(#5) is done, we need to have API that can update the user information. We need 2 API for this.

  1. user can update user-self information.
  2. an admin can update the user has been approval or not (again, don't worry about the ACL at the moment) after the user has been approved, we should have couple action happen here.
    1. generate a ZgID here
    2. create a Google workspace account here
    3. send out the welcome email to the user

Unit test if possible