zgzgorg / iam-backend

0 stars 2 forks source link

implement admin can change account infomation #68

Open kis87988 opened 2 years ago

kis87988 commented 2 years ago

as admin, should be able to change user account information.

We can make the account/info patch method to take the argument as an option. If the requester is an admin, they can change other account information. Otherwise, the argument default is login user.

Outcome:

  1. modify account/info patch method to achieve this goal