@@ -, +, @@ DB upgrade - git checkout v3.06.05 - Run through the web installer in Norwegian, installing all Norwegian sample data - git checkout - Run web installer/upgrade - Almost all of the permissions are still in Norwegian. The ones that are in English are not touched by the database update for 3.11.00.016, so they must have been introduced by other updates. - git checkout v3.06.05 - Run through the web installer in English, installing all English sample data - git checkout - Run web installer/upgrade - All permissions have been updated as expected, except "Perform batch modification of patrons" which is not in the 'userflags' table, but in the 'permissions' table. I have amended the patch to account for this. --- installer/data/mysql/updatedatabase.pl | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) --- a/installer/data/mysql/updatedatabase.pl +++ a/installer/data/mysql/updatedatabase.pl @@ -6350,43 +6350,43 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $DBversion = "3.11.00.016"; if ( CheckVersion($DBversion) ) { $dbh->do(q{ - UPDATE userflags SET flagdesc="Required for staff login. Staff access, allows viewing of catalogue in staff client." where flag="catalogue"; + UPDATE userflags SET flagdesc="Required for staff login. Staff access, allows viewing of catalogue in staff client." where flagdesc="Modify login / permissions for staff users"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Edit Authorities" where flag="editauthorities"; + UPDATE userflags SET flagdesc="Edit Authorities" where flagdesc="Allow to edit authorities"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Allow access to the reports module" where flag="reports"; + UPDATE userflags SET flagdesc="Allow access to the reports module" where flagdesc="Allow to access to the reports module"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Set library management parameters (deprecated)" where flag="management"; + UPDATE userflags SET flagdesc="Set library management parameters (deprecated)" where flagdesc="Set library management parameters"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Manage serial subscriptions" where flag="serials"; + UPDATE userflags SET flagdesc="Manage serial subscriptions" where flagdesc="Allow to manage serials subscriptions"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Manage patrons fines and fees" where flag="updatecharges"; + UPDATE userflags SET flagdesc="Manage patrons fines and fees" where flagdesc="Update borrower charges"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Check out and check in items" where flag="circulate"; + UPDATE userflags SET flagdesc="Check out and check in items" where flagdesc="Circulate books"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Manage Koha system settings (Administration panel)" where flag="parameters"; + UPDATE userflags SET flagdesc="Manage Koha system settings (Administration panel)" where flagdesc="Set Koha system parameters"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Add or modify patrons" where flag="borrowers"; + UPDATE userflags SET flagdesc="Add or modify patrons" where flagdesc="Add or modify borrowers"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Use all tools (expand for granular tools permissions)" where flag="tools"; + UPDATE userflags SET flagdesc="Use all tools (expand for granular tools permissions)" where flagdesc="Use tools (export, import, barcodes)"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Allow staff members to modify permissions for other staff members" where flag="staffaccess"; + UPDATE userflags SET flagdesc="Allow staff members to modify permissions for other staff members" where flagdesc="Set user permissions"; }); $dbh->do(q{ - UPDATE userflags SET flagdesc="Perform batch modification of patrons" where flag="edit_patrons"; + UPDATE permissions SET flagdesc="Perform batch modification of patrons" where flagdesc="Perform batch modifivation of patrons"; }); - print "Upgrade to $DBversion done (Bug 9382 - refresh permission descriptions to make more sense)\n"; + print "Upgrade to $DBversion done (Bug 9382 (updated with bug 9745) - refresh permission descriptions to make more sense)\n"; SetVersion ($DBversion); } --