Enhance User Contact Details Endpoints

Description

The new resource has been added to the notification service in https://openlmis.atlassian.net/browse/OLMIS-4903#icft=OLMIS-4903 and in this ticket we want to add some additional checks/ensure that resource is manage correctly.

Acceptance criteria

  • the resource can be created only if there is a related user resource in the reference data service

  • user should be able to update his/her own contact details by related endpoints

  • user with correct right should be able to update other user contact details

  • UI should use notification endpoints to create and update user's contact details

Note: please remove if statement from EmailVerificationNotifier (lines 99-103)

Activity

Show:
Joanna Szymańska
July 17, 2018 at 1:27 PM

I tested the ticket, and according to the acceptance criteria everything works correctly. I noticed only one issue with the validation of the field with the phone number, but I will report it in the new ticket.

Łukasz Lewczyński
July 9, 2018 at 8:27 AM

The backend part has been done by me. Could you do the UI part?

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Original estimate

Time tracking

4d 5h logged

Components

Sprint

None

Fix versions

Priority

Time Assistant

Created June 25, 2018 at 9:53 AM
Updated July 20, 2018 at 11:58 AM
Resolved July 17, 2018 at 1:33 PM