Bugzilla – Attachment 51573 Details for
Bug 16508
User permission "parameters_remaining_permissions Remaining system parameters permissions" does not allow saving systempreferences.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16508: Updating a syspref requires parameters_remaining_permissions
Bug-16508-Updating-a-syspref-requires-parametersre.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2016-05-17 13:39:38 UTC
(
hide
)
Description:
Bug 16508: Updating a syspref requires parameters_remaining_permissions
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-17 13:39:38 UTC
Size:
1.33 KB
patch
obsolete
>From b90ed3c09cbcc8dde0207fe5e458c0c0de5048c1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 17 May 2016 14:38:04 +0100 >Subject: [PATCH] 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. >--- > svc/config/systempreferences | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/svc/config/systempreferences b/svc/config/systempreferences >index 01cd782..89c5339 100755 >--- a/svc/config/systempreferences >+++ b/svc/config/systempreferences >@@ -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 > >-- >2.7.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16508
:
51573
|
51928
|
52057