Bug 32535: Exclude flags from BorrowerUnwantedField system preference
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 28 Dec 2022 20:36:33 +0000 (20:36 +0000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Wed, 18 Jan 2023 17:01:20 +0000 (17:01 +0000)
commite5b521629babc075d42dd5bf329edb72a1bae276
treeb2de78e05bf7c82ef8092e27f534a83cd9ea9b2b
parent11d88ba12ff14a41a1d998d0286b258e356dd64a
Bug 32535: Exclude flags from BorrowerUnwantedField system preference

The system preference BorrowerUnwantedField includes a checkbox
for "System permissions (flags)." Checking it has no apparent effect;
one is still able to edit patron permissions with the box checked.
This patch excludes the field from the selectable fields.

To test:
* Search for the BorrowerUnwantedField system prefernce
* Verify that you can check/uncheck System permissions (flags)
* Verify it doesn't have any effect, as permissions are not set
  from the patron edit form, but separately
* Apply patch
* Verify you no longer can check/uncheck the field in the
  system preference

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 4ed95f95ff617e56138b7e8eff9fc953fc6b53cc)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref