]> git.koha-community.org Git - koha.git/commit
Bug 20057: System preference for auto approval of patron profile changes
authorDavid Gustafsson <glasklas@gmail.com>
Tue, 19 May 2020 10:44:31 +0000 (12:44 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 31 Aug 2020 12:41:08 +0000 (14:41 +0200)
commitb12198a53feff9aad0f08160505477b50d0421b0
tree3ae2326c03c70b33fecf93e28ee9947729b83b49
parent2f1665151f719eaab9c9546facaaaad7882de297
Bug 20057: System preference for auto approval of patron profile changes

Testplan for this patch:

1. Apply patch.
2. Make sure syspref "AutoApprovePatronProfileSettings" is set to "Disable".
3. Edit patron personal details via opac interface.
4. Expect modifications to require manual approval by staff via link on main page.
5. Set syspref "AutoApprovePatronProfileSettings" to "Enable".
6. Edit patron personal details via OPAC interface again.
7. Expect modifications to have been approved automatically.

Signed-off-by: Liz Rea <liz@catalyst.net.nz>
This works, we may want some different text for this situation in the OPAC, it still says the librarian has to approve the change.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/AutoApprovePatronProfileSettings.sql [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
opac/opac-memberentry.pl