]> git.koha-community.org Git - koha.git/commit
Bug 16508: Updating a syspref requires parameters_remaining_permissions
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 17 May 2016 13:38:04 +0000 (14:38 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Mon, 6 Jun 2016 17:33:18 +0000 (17:33 +0000)
commitf2fe433cf9afce98957826bf2ade457557fe4eff
treed560a2ba061d7ccdf51ecc5a6c9f06435d979534
parentab1beed06f249d1e7d0be5bb1b584e62f5b48783
Bug 16508: Updating a syspref requires parameters_remaining_permissions

And not all of parameters flags.

Test plan:
1/ Create a staff user.
2/ Go to details, select more->set permissions.
3/ Set catalogue, Manage Koha system settings (Administration panel),
manage circulation rules, and Remaining system parameters permissions.
4/ Log in as the new staff user, go to administration > system
preferences. Change a syspref and save it... it will save correctly.
5/ Log back in as superlibrarian
6/ On the 'set permissions' screen, un-check 'manage circulation rules'
and save.
7/ Log back in to the new staff user, and try to change the same
systemprefrence and save.

Followed test plan, works as expected.
Signed-off-by: Marc Veron <veron@veron.ch>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
svc/config/systempreferences