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 55-60 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
55
   (13, 'upload_local_cover_images', 'Upload local cover images'),
55
   (13, 'upload_local_cover_images', 'Upload local cover images'),
56
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
56
   (13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
57
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
57
   (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
58
   (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
58
   (15, 'check_expiration', 'Check the expiration of a serial'),
59
   (15, 'check_expiration', 'Check the expiration of a serial'),
59
   (15, 'claim_serials', 'Claim missing serials'),
60
   (15, 'claim_serials', 'Claim missing serials'),
60
   (15, 'create_subscription', 'Create a new subscription'),
61
   (15, 'create_subscription', 'Create a new subscription'),
(-)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 9585-9590 if ( CheckVersion($DBversion) ) { Link Here
9585
    SetVersion ($DBversion);
9585
    SetVersion ($DBversion);
9586
}
9586
}
9587
9587
9588
$DBversion = "3.19.00.XXX";
9589
if ( CheckVersion($DBversion) ) {
9590
    $dbh->do(q|
9591
        INSERT INTO permissions (module_bit, code, description) VALUES
9592
          (13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)')
9593
    |);
9594
    print "Upgrade to $DBversion done (Bug 11395: Add permission tools_records_batchmod)\n";
9595
    SetVersion($DBversion);
9596
}
9597
9588
=head1 FUNCTIONS
9598
=head1 FUNCTIONS
9589
9599
9590
=head2 TableExists($table)
9600
=head2 TableExists($table)
9591
- 

Return to bug 11395