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

(-)a/installer/data/mysql/de-DE/mandatory/userpermissions.sql (-2 / +3 lines)
Lines 46-53 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
46
   (13, 'moderate_tags', 'Von Benutzern vergebene Tags moderieren'),
46
   (13, 'moderate_tags', 'Von Benutzern vergebene Tags moderieren'),
47
   (13, 'rotating_collections', 'Wandernde Sammlungen verwalten'),
47
   (13, 'rotating_collections', 'Wandernde Sammlungen verwalten'),
48
   (13, 'upload_local_cover_images', 'Eigene Coverbilder hochladen'),
48
   (13, 'upload_local_cover_images', 'Eigene Coverbilder hochladen'),
49
   (13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'),
49
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
50
   (13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'),
50
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
51
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
51
   (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
52
   (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
52
   (15, 'claim_serials', 'Fehlende Hefte reklamieren'),
53
   (15, 'claim_serials', 'Fehlende Hefte reklamieren'),
53
   (15, 'create_subscription', 'Neues Abonnement anlegen'),
54
   (15, 'create_subscription', 'Neues Abonnement anlegen'),
(-)a/installer/data/mysql/en/mandatory/userpermissions.sql (+1 lines)
Lines 47-52 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
47
   (13, 'rotating_collections', 'Manage rotating collections'),
47
   (13, 'rotating_collections', 'Manage rotating collections'),
48
   (13, 'upload_local_cover_images', 'Upload local cover images'),
48
   (13, 'upload_local_cover_images', 'Upload local cover images'),
49
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
49
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
50
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
50
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
51
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
51
   (15, 'check_expiration', 'Check the expiration of a serial'),
52
   (15, 'check_expiration', 'Check the expiration of a serial'),
52
   (15, 'claim_serials', 'Claim missing serials'),
53
   (15, 'claim_serials', 'Claim missing serials'),
(-)a/installer/data/mysql/es-ES/mandatory/userpermissions.sql (+1 lines)
Lines 47-52 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
47
   (13, 'rotating_collections', 'Manage rotating collections'),
47
   (13, 'rotating_collections', 'Manage rotating collections'),
48
   (13, 'upload_local_cover_images', 'Upload local cover images'),
48
   (13, 'upload_local_cover_images', 'Upload local cover images'),
49
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
49
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
50
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
50
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
51
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
51
   (15, 'check_expiration', 'Check the expiration of a serial'),
52
   (15, 'check_expiration', 'Check the expiration of a serial'),
52
   (15, 'claim_serials', 'Claim missing serials'),
53
   (15, 'claim_serials', 'Claim missing serials'),
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql (+1 lines)
Lines 48-53 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
48
   (13, 'items_batchdel', 'Supprimer les exemplaires par lot'),
48
   (13, 'items_batchdel', 'Supprimer les exemplaires par lot'),
49
   (13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
49
   (13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
50
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
50
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
51
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
51
   (15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
52
   (15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
52
   (15, 'claim_serials', 'Réclamer les périodiques manquants'),
53
   (15, 'claim_serials', 'Réclamer les périodiques manquants'),
53
   (15, 'create_subscription', 'Créer de nouveaux abonnements'),
54
   (15, 'create_subscription', 'Créer de nouveaux abonnements'),
(-)a/installer/data/mysql/it-IT/necessari/userpermissions.sql (+1 lines)
Lines 49-54 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
49
   (13, 'rotating_collections', 'Gestisci le collezioni circolanti (rotating collections)'),
49
   (13, 'rotating_collections', 'Gestisci le collezioni circolanti (rotating collections)'),
50
   (13, 'upload_local_cover_images', 'Carica copertine in locale'),
50
   (13, 'upload_local_cover_images', 'Carica copertine in locale'),
51
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
51
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
52
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
52
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
53
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
53
   (15, 'check_expiration', 'Controlla la scadenza di una risora in continuazione'),
54
   (15, 'check_expiration', 'Controlla la scadenza di una risora in continuazione'),
54
   (15, 'claim_serials', 'Richiedi i fascicoli non arrivati'),
55
   (15, 'claim_serials', 'Richiedi i fascicoli non arrivati'),
(-)a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql (+1 lines)
Lines 67-72 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
67
   (13, 'rotating_collections', 'Administrere roterende samlinger'),
67
   (13, 'rotating_collections', 'Administrere roterende samlinger'),
68
   (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
68
   (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
69
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
69
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
70
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
70
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
71
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
71
   (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
72
   (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
72
   (15, 'claim_serials', 'Purre manglende tidsskrifthefter'),
73
   (15, 'claim_serials', 'Purre manglende tidsskrifthefter'),
(-)a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql (+1 lines)
Lines 49-54 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
49
   (13, 'rotating_collections', 'Manage rotating collections'),
49
   (13, 'rotating_collections', 'Manage rotating collections'),
50
   (13, 'upload_local_cover_images', 'Upload local cover images'),
50
   (13, 'upload_local_cover_images', 'Upload local cover images'),
51
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
51
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
52
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
52
   (15, 'check_expiration', 'Check the expiration of a serial'),
53
   (15, 'check_expiration', 'Check the expiration of a serial'),
53
   (15, 'claim_serials', 'Claim missing serials'),
54
   (15, 'claim_serials', 'Claim missing serials'),
54
   (15, 'create_subscription', 'Create a new subscription'),
55
   (15, 'create_subscription', 'Create a new subscription'),
(-)a/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql (+1 lines)
Lines 73-78 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
73
   (13, 'rotating_collections', 'Manage rotating collections'),
73
   (13, 'rotating_collections', 'Manage rotating collections'),
74
   (13, 'upload_local_cover_images', 'Upload local cover images'),
74
   (13, 'upload_local_cover_images', 'Upload local cover images'),
75
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
75
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
76
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
76
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
77
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
77
   (15, 'check_expiration',            'Check the expiration of a serial'),
78
   (15, 'check_expiration',            'Check the expiration of a serial'),
78
   (15, 'claim_serials',               'Claim missing serials'),
79
   (15, 'claim_serials',               'Claim missing serials'),
(-)a/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql (+1 lines)
Lines 73-78 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
73
   (13, 'rotating_collections', 'Manage rotating collections'),
73
   (13, 'rotating_collections', 'Manage rotating collections'),
74
   (13, 'upload_local_cover_images', 'Upload local cover images'),
74
   (13, 'upload_local_cover_images', 'Upload local cover images'),
75
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
75
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
76
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
76
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
77
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
77
   (15, 'check_expiration',            'Check the expiration of a serial'),
78
   (15, 'check_expiration',            'Check the expiration of a serial'),
78
   (15, 'claim_serials',               'Claim missing serials'),
79
   (15, 'claim_serials',               'Claim missing serials'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +10 lines)
Lines 8037-8042 if(CheckVersion($DBversion)) { Link Here
8037
    SetVersion($DBversion);
8037
    SetVersion($DBversion);
8038
}
8038
}
8039
8039
8040
$DBversion = "3.15.00.XXX";
8041
if ( CheckVersion($DBversion) ) {
8042
    $dbh->do(q|
8043
        INSERT INTO permissions (module_bit, code, description) VALUES
8044
          (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)')
8045
    |);
8046
    print "Upgrade to $DBversion done (Bug 11395: Add permission tools_records_batchmod)\n";
8047
    SetVersion($DBversion);
8048
}
8049
8040
=head1 FUNCTIONS
8050
=head1 FUNCTIONS
8041
8051
8042
=head2 TableExists($table)
8052
=head2 TableExists($table)
8043
- 

Return to bug 11395