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

(-)a/installer/data/mysql/updatedatabase.pl (-15 / +14 lines)
Lines 6349-6392 if (C4::Context->preference("Version") < TransformToNum($DBversion)) { Link Here
6349
6349
6350
$DBversion = "3.11.00.016";
6350
$DBversion = "3.11.00.016";
6351
if ( CheckVersion($DBversion) ) {
6351
if ( CheckVersion($DBversion) ) {
6352
   $dbh->do(q{
6352
   $dbh->do{(q{
6353
        UPDATE userflags SET flagdesc="<b>Required for staff login.</b> Staff access, allows viewing of catalogue in staff client." where flag="catalogue";
6353
        UPDATE userflags SET flagdesc="<b>Required for staff login.</b> Staff access, allows viewing of catalogue in staff client." where flagdesc="Modify login / permissions for staff users";
6354
        });
6354
        });
6355
   $dbh->do(q{
6355
   $dbh->do(q{
6356
        UPDATE userflags SET flagdesc="Edit Authorities" where flag="editauthorities";
6356
        UPDATE userflags SET flagdesc="Edit Authorities" where flagdesc="Allow to edit authorities";
6357
        });
6357
        });
6358
   $dbh->do(q{
6358
   $dbh->do(q{
6359
        UPDATE userflags SET flagdesc="Allow access to the reports module" where flag="reports";
6359
        UPDATE userflags SET flagdesc="Allow access to the reports module" where flagdesc="Allow to access to the reports module";
6360
        });
6360
        });
6361
   $dbh->do(q{
6361
   $dbh->do(q{
6362
        UPDATE userflags SET flagdesc="Set library management parameters (deprecated)" where flag="management";
6362
        UPDATE userflags SET flagdesc="Set library management parameters (deprecated)" where flagdesc="Set library management parameters";
6363
        });
6363
        });
6364
   $dbh->do(q{
6364
   $dbh->do(q{
6365
        UPDATE userflags SET flagdesc="Manage serial subscriptions" where flag="serials";
6365
        UPDATE userflags SET flagdesc="Manage serial subscriptions" where flagdesc="Allow to manage serials subscriptions";
6366
        });
6366
        });
6367
   $dbh->do(q{
6367
   $dbh->do(q{
6368
        UPDATE userflags SET flagdesc="Manage patrons fines and fees" where flag="updatecharges";
6368
        UPDATE userflags SET flagdesc="Manage patrons fines and fees" where flagdesc="Update borrower charges";
6369
        });
6369
        });
6370
   $dbh->do(q{
6370
   $dbh->do(q{
6371
        UPDATE userflags SET flagdesc="Check out and check in items" where flag="circulate";
6371
        UPDATE userflags SET flagdesc="Check out and check in items" where flagdesc="Circulate books";
6372
        });
6372
        });
6373
   $dbh->do(q{
6373
   $dbh->do(q{
6374
        UPDATE userflags SET flagdesc="Manage Koha system settings (Administration panel)" where flag="parameters";
6374
        UPDATE userflags SET flagdesc="Manage Koha system settings (Administration panel)" where flagdesc="Set Koha system parameters";
6375
        });
6375
        });
6376
   $dbh->do(q{
6376
   $dbh->do(q{
6377
        UPDATE userflags SET flagdesc="Add or modify patrons" where flag="borrowers";
6377
        UPDATE userflags SET flagdesc="Add or modify patrons" where flagdesc="Add or modify borrowers";
6378
        });
6378
        });
6379
   $dbh->do(q{
6379
   $dbh->do(q{
6380
        UPDATE userflags SET flagdesc="Use all tools (expand for granular tools permissions)" where flag="tools";
6380
        UPDATE userflags SET flagdesc="Use all tools (expand for granular tools permissions)" where flagdesc="Use tools (export, import, barcodes)";
6381
        });
6381
        });
6382
   $dbh->do(q{
6382
   $dbh->do(q{
6383
        UPDATE userflags SET flagdesc="Allow staff members to modify permissions for other staff members" where flag="staffaccess";
6383
        UPDATE userflags SET flagdesc="Allow staff members to modify permissions for other staff members" where flagdesc="Set user permissions";
6384
        });
6384
        });
6385
   $dbh->do(q{
6385
   $dbh->do(q{
6386
        UPDATE userflags SET flagdesc="Perform batch modification of patrons" where flag="edit_patrons";
6386
        UPDATE userflags SET flagdesc="Perform batch modification of patrons" where flagdesc="Perform batch modifivation of patrons";
6387
        });
6387
        });
6388
6388
6389
   print "Upgrade to $DBversion done (Bug 9382 - refresh permission descriptions to make more sense)\n";
6389
   print "Upgrade to $DBversion done (Bug 9382 (updated with bug 9745) - refresh permission descriptions to make more sense)\n";
6390
   SetVersion ($DBversion);
6390
   SetVersion ($DBversion);
6391
}
6391
}
6392
6392
6393
- 

Return to bug 9745