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 48-55 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
48
   (13, 'moderate_tags', 'Von Benutzern vergebene Tags moderieren'),
48
   (13, 'moderate_tags', 'Von Benutzern vergebene Tags moderieren'),
49
   (13, 'rotating_collections', 'Wandernde Sammlungen verwalten'),
49
   (13, 'rotating_collections', 'Wandernde Sammlungen verwalten'),
50
   (13, 'upload_local_cover_images', 'Eigene Coverbilder hochladen'),
50
   (13, 'upload_local_cover_images', 'Eigene Coverbilder hochladen'),
51
   (13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'),
51
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
52
   (13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'),
52
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
53
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
53
   (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
54
   (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
54
   (15, 'claim_serials', 'Fehlende Hefte reklamieren'),
55
   (15, 'claim_serials', 'Fehlende Hefte reklamieren'),
55
   (15, 'create_subscription', 'Neue Abonnements anlegen'),
56
   (15, 'create_subscription', 'Neue Abonnements anlegen'),
(-)a/installer/data/mysql/en/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
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
53
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
53
   (15, 'check_expiration', 'Check the expiration of a serial'),
54
   (15, 'check_expiration', 'Check the expiration of a serial'),
54
   (15, 'claim_serials', 'Claim missing serials'),
55
   (15, 'claim_serials', 'Claim missing serials'),
(-)a/installer/data/mysql/es-ES/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
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
53
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
53
   (15, 'check_expiration', 'Check the expiration of a serial'),
54
   (15, 'check_expiration', 'Check the expiration of a serial'),
54
   (15, 'claim_serials', 'Claim missing serials'),
55
   (15, 'claim_serials', 'Claim missing serials'),
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql (+1 lines)
Lines 50-55 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
50
   (13, 'items_batchdel', 'Supprimer les exemplaires par lot'),
50
   (13, 'items_batchdel', 'Supprimer les exemplaires par lot'),
51
   (13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
51
   (13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
52
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
52
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
53
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
53
   (15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
54
   (15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
54
   (15, 'claim_serials', 'Réclamer les périodiques manquants'),
55
   (15, 'claim_serials', 'Réclamer les périodiques manquants'),
55
   (15, 'create_subscription', 'Créer de nouveaux abonnements'),
56
   (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', 'Aggiungi, modifica e cancella le liste utenti e i loro contenuti'),
51
   (13, 'manage_patron_lists', 'Aggiungi, modifica e cancella le liste utenti e i loro contenuti'),
52
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
52
   (13, 'marc_modification_templates', 'Gestisci le modifiche sulle griglie di catalogazione MARC'),
53
   (13, 'marc_modification_templates', 'Gestisci le modifiche sulle griglie di catalogazione MARC'),
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 69-74 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
69
   (13, 'rotating_collections', 'Administrere roterende samlinger'),
69
   (13, 'rotating_collections', 'Administrere roterende samlinger'),
70
   (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
70
   (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
71
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
71
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
72
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
72
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
73
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
73
   (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
74
   (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
74
   (15, 'claim_serials', 'Purre manglende tidsskrifthefter'),
75
   (15, 'claim_serials', 'Purre manglende tidsskrifthefter'),
(-)a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql (+1 lines)
Lines 51-56 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
51
   (13, 'rotating_collections', 'Manage rotating collections'),
51
   (13, 'rotating_collections', 'Manage rotating collections'),
52
   (13, 'upload_local_cover_images', 'Upload local cover images'),
52
   (13, 'upload_local_cover_images', 'Upload local cover images'),
53
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
53
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
54
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
54
   (15, 'check_expiration', 'Check the expiration of a serial'),
55
   (15, 'check_expiration', 'Check the expiration of a serial'),
55
   (15, 'claim_serials', 'Claim missing serials'),
56
   (15, 'claim_serials', 'Claim missing serials'),
56
   (15, 'create_subscription', 'Create a new subscription'),
57
   (15, 'create_subscription', 'Create a new subscription'),
(-)a/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql (+1 lines)
Lines 75-80 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
75
   (13, 'rotating_collections', 'Manage rotating collections'),
75
   (13, 'rotating_collections', 'Manage rotating collections'),
76
   (13, 'upload_local_cover_images', 'Upload local cover images'),
76
   (13, 'upload_local_cover_images', 'Upload local cover images'),
77
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
77
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
78
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
78
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
79
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
79
   (15, 'check_expiration',            'Check the expiration of a serial'),
80
   (15, 'check_expiration',            'Check the expiration of a serial'),
80
   (15, 'claim_serials',               'Claim missing serials'),
81
   (15, 'claim_serials',               'Claim missing serials'),
(-)a/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql (+1 lines)
Lines 75-80 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
75
   (13, 'rotating_collections', 'Manage rotating collections'),
75
   (13, 'rotating_collections', 'Manage rotating collections'),
76
   (13, 'upload_local_cover_images', 'Upload local cover images'),
76
   (13, 'upload_local_cover_images', 'Upload local cover images'),
77
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
77
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
78
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
78
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
79
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
79
   (15, 'check_expiration',            'Check the expiration of a serial'),
80
   (15, 'check_expiration',            'Check the expiration of a serial'),
80
   (15, 'claim_serials',               'Claim missing serials'),
81
   (15, 'claim_serials',               'Claim missing serials'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +10 lines)
Lines 8560-8565 if ( CheckVersion($DBversion) ) { Link Here
8560
    SetVersion($DBversion);
8560
    SetVersion($DBversion);
8561
}
8561
}
8562
8562
8563
$DBversion = "3.17.00.XXX";
8564
if ( CheckVersion($DBversion) ) {
8565
    $dbh->do(q|
8566
        INSERT INTO permissions (module_bit, code, description) VALUES
8567
          (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)')
8568
    |);
8569
    print "Upgrade to $DBversion done (Bug 11395: Add permission tools_records_batchmod)\n";
8570
    SetVersion($DBversion);
8571
}
8572
8563
=head1 FUNCTIONS
8573
=head1 FUNCTIONS
8564
8574
8565
=head2 TableExists($table)
8575
=head2 TableExists($table)
8566
- 

Return to bug 11395