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>
This commit is contained in:
parent
ab1beed06f
commit
f2fe433cf9
|
|
@ -42,7 +42,7 @@ batches.
|
|||
|
||||
=cut
|
||||
|
||||
our ( $query, $response ) = C4::Service->init( parameters => 1 );
|
||||
our ( $query, $response ) = C4::Service->init( parameters => 'parameters_remaining_permissions' );
|
||||
|
||||
=head2 set_preference
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue