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

Lari Taskula <lari.task...@jns.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56158|0                           |1
        is obsolete|                            |

--- Comment #14 from Lari Taskula <lari.task...@jns.fi> ---
Created attachment 56284
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56284&action=edit
[SIGNED-OFF] Bug 17006: Respect system preference "OpacPasswordChange"

Allow patron to change their own password without borrowers-flag only
if OpacPasswordChange system preference is enabled.

To test:
1. Apply patch
2. Run t/db_dependent/api/v1/patrons.t
3. Set OpacPasswordChange system preference to "Don't allow".
4. Send PATCH request to http://library/api/v1/patrons/YYY/password
   where YYY is existing borrowernumber for a borrower that does not
   have any permissions
5. Observe permission error.
6. Set OpacPasswordChange system preference to "Allow".
7. Repeat step 4 and make sure that password was changed.

Signed-off-by: Aleisha Amohia <aleishaamo...@hotmail.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to