View | Details | Raw Unified | Return to bug 20100
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_20100.perl (+9 lines)
Line 0 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( q|
4
INSERT IGNORE INTO systempreferences ( value, variable, options, explanation, type ) VALUES ( '0', 'ProtectSuperlibPrivs', NULL, 'If enabled, non-superlibrarians cannot set superlibrarian privileges', 'YesNo' );
5
    |);
6
7
    SetVersion( $DBversion );
8
    print "Upgrade to $DBversion done (Bug 20100: Should a non-superlibrarian be able to add superlibrarian privileges?)\n";
9
}
(-)a/installer/data/mysql/sysprefs.sql (+1 lines)
Lines 442-447 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
442
('printcirculationslips','1','','If ON, enable printing circulation receipts','YesNo'),
442
('printcirculationslips','1','','If ON, enable printing circulation receipts','YesNo'),
443
('PrintNoticesMaxLines','0','','If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.','Integer'),
443
('PrintNoticesMaxLines','0','','If greater than 0, sets the maximum number of lines an overdue notice will print. If the number of items is greater than this number, the notice will end with a warning asking the borrower to check their online account for a full list of overdue items.','Integer'),
444
('ProcessingFeeNote', '', NULL, 'Set the text to be recorded in the column note, table accountlines when the processing fee (defined in item type) is applied', 'textarea'),
444
('ProcessingFeeNote', '', NULL, 'Set the text to be recorded in the column note, table accountlines when the processing fee (defined in item type) is applied', 'textarea'),
445
('ProtectSuperlibPrivs','0',NULL,'If enabled, non-superlibrarians cannot set superlibrarian privileges','YesNo'),
445
('PurgeSuggestionsOlderThan', '', NULL, 'If this script is called without the days parameter', 'Integer'),
446
('PurgeSuggestionsOlderThan', '', NULL, 'If this script is called without the days parameter', 'Integer'),
446
('QueryAutoTruncate','1',NULL,'If ON, query truncation is enabled by default','YesNo'),
447
('QueryAutoTruncate','1',NULL,'If ON, query truncation is enabled by default','YesNo'),
447
('QueryFuzzy','1',NULL,'If ON, enables fuzzy option for searches','YesNo'),
448
('QueryFuzzy','1',NULL,'If ON, enables fuzzy option for searches','YesNo'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref (-1 / +7 lines)
Lines 199-204 Patrons: Link Here
199
         - pref: FailedLoginAttempts
199
         - pref: FailedLoginAttempts
200
           class: integer
200
           class: integer
201
         - failed login attempts.
201
         - failed login attempts.
202
     -
203
         - pref: ProtectSuperlibPrivs
204
           choices:
205
               yes: Allow only superlibrarians
206
               no: Do not block permitted non-superlibrarians
207
         - to access/change superlibrarian privileges.
208
202
    "Norwegian patron database":
209
    "Norwegian patron database":
203
     -
210
     -
204
         - pref: NorwegianPatronDBEnable
211
         - pref: NorwegianPatronDBEnable
205
- 

Return to bug 20100