]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 15 Jun 2016 06:16:15 +0000 (08:16 +0200)
commit259fe9947b73023a22aceda2b7f7ad357500884f
tree9333b66a1b7b16486956ba9caafaf22ba526a15c
parent2729f038c34b5c4f0b713738c9bf4a94068f1b43
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>
(cherry picked from commit f2fe433cf9afce98957826bf2ade457557fe4eff)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
svc/config/systempreferences