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

(-)a/installer/data/mysql/de-DE/mandatory/userpermissions.sql (+1 lines)
Lines 54-59 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
54
   (13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'),
54
   (13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'),
55
   (13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'),
55
   (13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'),
56
   (13, 'records_batchdel', 'Stapellöschung von Datensätzen (Titel und Normdaten)'),
56
   (13, 'records_batchdel', 'Stapellöschung von Datensätzen (Titel und Normdaten)'),
57
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
57
   (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
58
   (15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
58
   (15, 'claim_serials', 'Fehlende Hefte reklamieren'),
59
   (15, 'claim_serials', 'Fehlende Hefte reklamieren'),
59
   (15, 'create_subscription', 'Neue Abonnements anlegen'),
60
   (15, 'create_subscription', 'Neue Abonnements anlegen'),
(-)a/installer/data/mysql/en/mandatory/userpermissions.sql (+1 lines)
Lines 52-57 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
52
   (13, 'rotating_collections', 'Manage rotating collections'),
52
   (13, 'rotating_collections', 'Manage rotating collections'),
53
   (13, 'upload_local_cover_images', 'Upload local cover images'),
53
   (13, 'upload_local_cover_images', 'Upload local cover images'),
54
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
54
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
55
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
55
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
56
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
56
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (15, 'check_expiration', 'Check the expiration of a serial'),
58
   (15, 'check_expiration', 'Check the expiration of a serial'),
(-)a/installer/data/mysql/es-ES/mandatory/userpermissions.sql (+1 lines)
Lines 52-57 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
52
   (13, 'rotating_collections', 'Manage rotating collections'),
52
   (13, 'rotating_collections', 'Manage rotating collections'),
53
   (13, 'upload_local_cover_images', 'Upload local cover images'),
53
   (13, 'upload_local_cover_images', 'Upload local cover images'),
54
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
54
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
55
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
55
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
56
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
56
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (15, 'check_expiration', 'Check the expiration of a serial'),
58
   (15, 'check_expiration', 'Check the expiration of a serial'),
(-)a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql (+1 lines)
Lines 54-59 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
54
   (13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
54
   (13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
55
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
55
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
56
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
56
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
57
   (15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
58
   (15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
58
   (15, 'claim_serials', 'Réclamer les périodiques manquants'),
59
   (15, 'claim_serials', 'Réclamer les périodiques manquants'),
59
   (15, 'create_subscription', 'Créer de nouveaux abonnements'),
60
   (15, 'create_subscription', 'Créer de nouveaux abonnements'),
(-)a/installer/data/mysql/it-IT/necessari/userpermissions.sql (+1 lines)
Lines 52-57 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
52
   (13, 'rotating_collections', 'Gestisci le collezioni circolanti (rotating collections)'),
52
   (13, 'rotating_collections', 'Gestisci le collezioni circolanti (rotating collections)'),
53
   (13, 'upload_local_cover_images', 'Carica copertine in locale'),
53
   (13, 'upload_local_cover_images', 'Carica copertine in locale'),
54
   (13, 'manage_patron_lists', 'Aggiungi, modifica e cancella le liste utenti e i loro contenuti'),
54
   (13, 'manage_patron_lists', 'Aggiungi, modifica e cancella le liste utenti e i loro contenuti'),
55
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
55
   (13, 'marc_modification_templates', 'Gestisci le modifiche sulle griglie di catalogazione MARC'),
56
   (13, 'marc_modification_templates', 'Gestisci le modifiche sulle griglie di catalogazione MARC'),
56
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (15, 'check_expiration', 'Controlla la scadenza di una risora in continuazione'),
58
   (15, 'check_expiration', 'Controlla la scadenza di una risora in continuazione'),
(-)a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql (+1 lines)
Lines 72-77 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
72
   (13, 'rotating_collections', 'Administrere roterende samlinger'),
72
   (13, 'rotating_collections', 'Administrere roterende samlinger'),
73
   (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
73
   (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
74
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
74
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
75
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
75
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
76
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
76
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
77
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
77
   (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
78
   (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
(-)a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql (+1 lines)
Lines 54-59 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
54
   (13, 'manage_patron_lists', 'Dodawanie, modyfikacja i usuwanie list użytkowników i ich zawartości'),
54
   (13, 'manage_patron_lists', 'Dodawanie, modyfikacja i usuwanie list użytkowników i ich zawartości'),
55
   (13, 'marc_modification_templates', 'Zarządzanie szablonami modyfikacji marc'),
55
   (13, 'marc_modification_templates', 'Zarządzanie szablonami modyfikacji marc'),
56
   (13, 'records_batchdel', 'Grupowe usuwanie rekordów (bibliograficznych lub haseł wzorcowych)'),
56
   (13, 'records_batchdel', 'Grupowe usuwanie rekordów (bibliograficznych lub haseł wzorcowych)'),
57
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
57
   (15, 'check_expiration', 'Sprawdzanie daty wygaśnięcia prenumeraty'),
58
   (15, 'check_expiration', 'Sprawdzanie daty wygaśnięcia prenumeraty'),
58
   (15, 'claim_serials', 'Składanie reklamacji na brakujący numer'),
59
   (15, 'claim_serials', 'Składanie reklamacji na brakujący numer'),
59
   (15, 'create_subscription', 'Tworzenie nowej prenumeraty'),
60
   (15, 'create_subscription', 'Tworzenie nowej prenumeraty'),
(-)a/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql (+1 lines)
Lines 78-83 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
78
   (13, 'rotating_collections', 'Manage rotating collections'),
78
   (13, 'rotating_collections', 'Manage rotating collections'),
79
   (13, 'upload_local_cover_images', 'Upload local cover images'),
79
   (13, 'upload_local_cover_images', 'Upload local cover images'),
80
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
80
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
81
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
81
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
82
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
82
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
83
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
83
   (15, 'check_expiration',            'Check the expiration of a serial'),
84
   (15, 'check_expiration',            'Check the expiration of a serial'),
(-)a/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql (+1 lines)
Lines 78-83 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
78
   (13, 'rotating_collections', 'Manage rotating collections'),
78
   (13, 'rotating_collections', 'Manage rotating collections'),
79
   (13, 'upload_local_cover_images', 'Upload local cover images'),
79
   (13, 'upload_local_cover_images', 'Upload local cover images'),
80
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
80
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
81
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
81
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
82
   (13, 'marc_modification_templates', 'Manage marc modification templates'),
82
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
83
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
83
   (15, 'check_expiration',            'Check the expiration of a serial'),
84
   (15, 'check_expiration',            'Check the expiration of a serial'),
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +10 lines)
Lines 9759-9764 if ( CheckVersion($DBversion) ) { Link Here
9759
    SetVersion ($DBversion);
9759
    SetVersion ($DBversion);
9760
}
9760
}
9761
9761
9762
$DBversion = "3.19.00.XXX";
9763
if ( CheckVersion($DBversion) ) {
9764
    $dbh->do(q|
9765
        INSERT INTO permissions (module_bit, code, description) VALUES
9766
          (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)')
9767
    |);
9768
    print "Upgrade to $DBversion done (Bug 11395: Add permission tools_records_batchmod)\n";
9769
    SetVersion($DBversion);
9770
}
9771
9762
=head1 FUNCTIONS
9772
=head1 FUNCTIONS
9763
9773
9764
=head2 TableExists($table)
9774
=head2 TableExists($table)
9765
- 

Return to bug 11395