Bug 11395: DB: Add permission tools_records_batchmod
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
4144bf56d1
commit
02cabdefde
10 changed files with 20 additions and 0 deletions
|
@ -54,6 +54,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'),
|
(13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'),
|
||||||
(13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'),
|
(13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'),
|
||||||
(13, 'records_batchdel', 'Stapellöschung von Datensätzen (Titel und Normdaten)'),
|
(13, 'records_batchdel', 'Stapellöschung von Datensätzen (Titel und Normdaten)'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
|
(15, 'check_expiration', 'Ablauf eines Abonnements prüfen'),
|
||||||
(15, 'claim_serials', 'Fehlende Hefte reklamieren'),
|
(15, 'claim_serials', 'Fehlende Hefte reklamieren'),
|
||||||
(15, 'create_subscription', 'Neue Abonnements anlegen'),
|
(15, 'create_subscription', 'Neue Abonnements anlegen'),
|
||||||
|
|
|
@ -52,6 +52,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'rotating_collections', 'Manage rotating collections'),
|
(13, 'rotating_collections', 'Manage rotating collections'),
|
||||||
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
||||||
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
||||||
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
||||||
(15, 'check_expiration', 'Check the expiration of a serial'),
|
(15, 'check_expiration', 'Check the expiration of a serial'),
|
||||||
|
|
|
@ -52,6 +52,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'rotating_collections', 'Manage rotating collections'),
|
(13, 'rotating_collections', 'Manage rotating collections'),
|
||||||
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
||||||
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
||||||
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
||||||
(15, 'check_expiration', 'Check the expiration of a serial'),
|
(15, 'check_expiration', 'Check the expiration of a serial'),
|
||||||
|
|
|
@ -54,6 +54,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
|
(13, 'upload_local_cover_images', 'Téléchargement des images de couverture'),
|
||||||
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
||||||
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
|
(15, 'check_expiration', 'Contrôler l''expiration d''un périodique'),
|
||||||
(15, 'claim_serials', 'Réclamer les périodiques manquants'),
|
(15, 'claim_serials', 'Réclamer les périodiques manquants'),
|
||||||
(15, 'create_subscription', 'Créer de nouveaux abonnements'),
|
(15, 'create_subscription', 'Créer de nouveaux abonnements'),
|
||||||
|
|
|
@ -52,6 +52,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'rotating_collections', 'Gestisci le collezioni circolanti (rotating collections)'),
|
(13, 'rotating_collections', 'Gestisci le collezioni circolanti (rotating collections)'),
|
||||||
(13, 'upload_local_cover_images', 'Carica copertine in locale'),
|
(13, 'upload_local_cover_images', 'Carica copertine in locale'),
|
||||||
(13, 'manage_patron_lists', 'Aggiungi, modifica e cancella le liste utenti e i loro contenuti'),
|
(13, 'manage_patron_lists', 'Aggiungi, modifica e cancella le liste utenti e i loro contenuti'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(13, 'marc_modification_templates', 'Gestisci le modifiche sulle griglie di catalogazione MARC'),
|
(13, 'marc_modification_templates', 'Gestisci le modifiche sulle griglie di catalogazione MARC'),
|
||||||
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
||||||
(15, 'check_expiration', 'Controlla la scadenza di una risora in continuazione'),
|
(15, 'check_expiration', 'Controlla la scadenza di una risora in continuazione'),
|
||||||
|
|
|
@ -72,6 +72,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'rotating_collections', 'Administrere roterende samlinger'),
|
(13, 'rotating_collections', 'Administrere roterende samlinger'),
|
||||||
(13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
|
(13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'),
|
||||||
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
||||||
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
||||||
(15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
|
(15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'),
|
||||||
|
|
|
@ -54,6 +54,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'manage_patron_lists', 'Dodawanie, modyfikacja i usuwanie list użytkowników i ich zawartości'),
|
(13, 'manage_patron_lists', 'Dodawanie, modyfikacja i usuwanie list użytkowników i ich zawartości'),
|
||||||
(13, 'marc_modification_templates', 'Zarządzanie szablonami modyfikacji marc'),
|
(13, 'marc_modification_templates', 'Zarządzanie szablonami modyfikacji marc'),
|
||||||
(13, 'records_batchdel', 'Grupowe usuwanie rekordów (bibliograficznych lub haseł wzorcowych)'),
|
(13, 'records_batchdel', 'Grupowe usuwanie rekordów (bibliograficznych lub haseł wzorcowych)'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(15, 'check_expiration', 'Sprawdzanie daty wygaśnięcia prenumeraty'),
|
(15, 'check_expiration', 'Sprawdzanie daty wygaśnięcia prenumeraty'),
|
||||||
(15, 'claim_serials', 'Składanie reklamacji na brakujący numer'),
|
(15, 'claim_serials', 'Składanie reklamacji na brakujący numer'),
|
||||||
(15, 'create_subscription', 'Tworzenie nowej prenumeraty'),
|
(15, 'create_subscription', 'Tworzenie nowej prenumeraty'),
|
||||||
|
|
|
@ -79,6 +79,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'rotating_collections', 'Manage rotating collections'),
|
(13, 'rotating_collections', 'Manage rotating collections'),
|
||||||
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
||||||
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
||||||
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
||||||
(15, 'check_expiration', 'Check the expiration of a serial'),
|
(15, 'check_expiration', 'Check the expiration of a serial'),
|
||||||
|
|
|
@ -79,6 +79,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
(13, 'rotating_collections', 'Manage rotating collections'),
|
(13, 'rotating_collections', 'Manage rotating collections'),
|
||||||
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
(13, 'upload_local_cover_images', 'Upload local cover images'),
|
||||||
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
(13, 'manage_patron_lists', 'Add, edit and delete patron lists and their contents'),
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'),
|
||||||
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
(13, 'marc_modification_templates', 'Manage marc modification templates'),
|
||||||
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
(13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'),
|
||||||
(15, 'check_expiration', 'Check the expiration of a serial'),
|
(15, 'check_expiration', 'Check the expiration of a serial'),
|
||||||
|
|
|
@ -9793,6 +9793,17 @@ if(CheckVersion($DBversion)) {
|
||||||
SetVersion($DBversion);
|
SetVersion($DBversion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$DBversion = "3.19.00.XXX";
|
||||||
|
if ( CheckVersion($DBversion) ) {
|
||||||
|
$dbh->do(q|
|
||||||
|
INSERT INTO permissions (module_bit, code, description) VALUES
|
||||||
|
(13, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)')
|
||||||
|
|);
|
||||||
|
print "Upgrade to $DBversion done (Bug 11395: Add permission tools_records_batchmod)\n";
|
||||||
|
SetVersion($DBversion);
|
||||||
|
}
|
||||||
|
|
||||||
=head1 FUNCTIONS
|
=head1 FUNCTIONS
|
||||||
|
|
||||||
=head2 TableExists($table)
|
=head2 TableExists($table)
|
||||||
|
|
Loading…
Reference in a new issue