[Koha-bugs] [Bug 17006] Add route to change patron's password

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 2 14:32:41 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17006

--- Comment #67 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 83581
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83581&action=edit
Bug 17006: Add /patrons/{patron_id}/password

This patch introduces an endpoint for changing a patron's password. It
targets privileged user with the right permissions, changing some
patron's password.

To test:

- Apply this patchset
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/patrons_password.t
=> SUCCESS: tests pass!
- Play with the different use cases highlighted by the tests, on your
favourite REST testing tool (Postman, RESTer on FF, etc).

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list