We made some changes on auth's user endpoints due to OLMIS-4833 Done and OLMIS-4896 Done . Now when user contact details are stored in the notification service we should revert some changes and make sure that endpoints work correctly.
- The resource contain only needed fields
- The resource can be created only if there is a related user resource in the reference data service
- because we use the same ID for reference data and auth user's request should always have id field
- based on that field a correct reference data user should be retrieved to check
- user should be able to update his/her own details by related endpoints
- user with correct right should be able to update other user details
- UI should use auth endpoints to create and update user's details