Bugzilla – Attachment 34397 Details for
Bug 11395
Batch modifications for records
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11395: DB: Add permission tools_records_batchmod
Bug-11395-DB-Add-permission-toolsrecordsbatchmod.patch (text/plain), 10.09 KB, created by
Jonathan Druart
on 2014-12-15 09:32:29 UTC
(
hide
)
Description:
Bug 11395: DB: Add permission tools_records_batchmod
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-12-15 09:32:29 UTC
Size:
10.09 KB
patch
obsolete
>From 660367e1e03411200676e5e3450811dd0f8e8bde Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 12 Dec 2013 21:14:47 +0100 >Subject: [PATCH] Bug 11395: DB: Add permission tools_records_batchmod > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> >--- > installer/data/mysql/de-DE/mandatory/userpermissions.sql | 1 + > installer/data/mysql/en/mandatory/userpermissions.sql | 1 + > installer/data/mysql/es-ES/mandatory/userpermissions.sql | 1 + > installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql | 1 + > installer/data/mysql/it-IT/necessari/userpermissions.sql | 1 + > installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql | 1 + > installer/data/mysql/pl-PL/mandatory/userpermissions.sql | 1 + > .../data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql | 1 + > .../data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql | 1 + > installer/data/mysql/updatedatabase.pl | 10 ++++++++++ > 10 files changed, 19 insertions(+) > >diff --git a/installer/data/mysql/de-DE/mandatory/userpermissions.sql b/installer/data/mysql/de-DE/mandatory/userpermissions.sql >index ef67f1a..38430dd 100644 >--- a/installer/data/mysql/de-DE/mandatory/userpermissions.sql >+++ b/installer/data/mysql/de-DE/mandatory/userpermissions.sql >@@ -54,6 +54,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'manage_patron_lists', 'Benutzerlisten anlegen, bearbeiten und löschen'), > (13, 'marc_modification_templates', 'Templates für MARC-Modifikationen verwalten'), > (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, 'claim_serials', 'Fehlende Hefte reklamieren'), > (15, 'create_subscription', 'Neue Abonnements anlegen'), >diff --git a/installer/data/mysql/en/mandatory/userpermissions.sql b/installer/data/mysql/en/mandatory/userpermissions.sql >index 65c4bb8..6264aba 100644 >--- a/installer/data/mysql/en/mandatory/userpermissions.sql >+++ b/installer/data/mysql/en/mandatory/userpermissions.sql >@@ -52,6 +52,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'rotating_collections', 'Manage rotating collections'), > (13, 'upload_local_cover_images', 'Upload local cover images'), > (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, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), > (15, 'check_expiration', 'Check the expiration of a serial'), >diff --git a/installer/data/mysql/es-ES/mandatory/userpermissions.sql b/installer/data/mysql/es-ES/mandatory/userpermissions.sql >index 6f6b600..b99cbe8 100644 >--- a/installer/data/mysql/es-ES/mandatory/userpermissions.sql >+++ b/installer/data/mysql/es-ES/mandatory/userpermissions.sql >@@ -52,6 +52,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'rotating_collections', 'Manage rotating collections'), > (13, 'upload_local_cover_images', 'Upload local cover images'), > (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, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), > (15, 'check_expiration', 'Check the expiration of a serial'), >diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql b/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql >index 6bce622..32f7d6e 100644 >--- a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql >+++ b/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql >@@ -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, '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_batchmod', 'Perform batch modification of records (biblios or authorities)'), > (15, 'check_expiration', 'Contrôler l''expiration d''un périodique'), > (15, 'claim_serials', 'Réclamer les périodiques manquants'), > (15, 'create_subscription', 'Créer de nouveaux abonnements'), >diff --git a/installer/data/mysql/it-IT/necessari/userpermissions.sql b/installer/data/mysql/it-IT/necessari/userpermissions.sql >index 740c2f7..162856a 100644 >--- a/installer/data/mysql/it-IT/necessari/userpermissions.sql >+++ b/installer/data/mysql/it-IT/necessari/userpermissions.sql >@@ -52,6 +52,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'rotating_collections', 'Gestisci le collezioni circolanti (rotating collections)'), > (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, 'records_batchmod', 'Perform batch modification of records (biblios or authorities)'), > (13, 'marc_modification_templates', 'Gestisci le modifiche sulle griglie di catalogazione MARC'), > (13, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), > (15, 'check_expiration', 'Controlla la scadenza di una risora in continuazione'), >diff --git a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql b/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql >index f8789f7..2d9ae1d 100644 >--- a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql >+++ b/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql >@@ -72,6 +72,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'rotating_collections', 'Administrere roterende samlinger'), > (13, 'upload_local_cover_images', 'Laste opp lokale omslagsbilder'), > (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, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), > (15, 'check_expiration', 'Sjekke utløpsdato for et periodikum'), >diff --git a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql b/installer/data/mysql/pl-PL/mandatory/userpermissions.sql >index 9564a6f..3baa14b 100644 >--- a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql >+++ b/installer/data/mysql/pl-PL/mandatory/userpermissions.sql >@@ -55,6 +55,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'upload_local_cover_images', 'Upload local cover images'), > (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_batchmod', 'Perform batch modification of records (biblios or authorities)'), > (15, 'check_expiration', 'Check the expiration of a serial'), > (15, 'claim_serials', 'Claim missing serials'), > (15, 'create_subscription', 'Create a new subscription'), >diff --git a/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql b/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql >index a8941cf..d986300 100644 >--- a/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql >+++ b/installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql >@@ -78,6 +78,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'rotating_collections', 'Manage rotating collections'), > (13, 'upload_local_cover_images', 'Upload local cover images'), > (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, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), > (15, 'check_expiration', 'Check the expiration of a serial'), >diff --git a/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql b/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql >index f8bfd0d..4f4f823 100644 >--- a/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql >+++ b/installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql >@@ -78,6 +78,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (13, 'rotating_collections', 'Manage rotating collections'), > (13, 'upload_local_cover_images', 'Upload local cover images'), > (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, 'records_batchdel', 'Perform batch deletion of records (bibliographic or authority)'), > (15, 'check_expiration', 'Check the expiration of a serial'), >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index cf17e0b..962aa2b 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -9585,6 +9585,16 @@ if ( CheckVersion($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 > > =head2 TableExists($table) >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11395
:
23502
|
23503
|
23504
|
23505
|
23506
|
23507
|
23508
|
23592
|
24634
|
26072
|
26981
|
28978
|
28999
|
29000
|
29001
|
29002
|
29003
|
29004
|
29056
|
29509
|
29569
|
31344
|
32181
|
32182
|
32184
|
32239
|
32240
|
32241
|
32242
|
32243
|
32244
|
32245
|
32246
|
32247
|
32248
|
32249
|
33145
|
33146
|
33147
|
33148
|
33149
|
33150
|
33151
|
33152
|
33153
|
33154
|
33155
|
34393
|
34394
|
34395
|
34396
|
34397
|
34398
|
34399
|
34400
|
34401
|
34402
|
34552
|
34553
|
34554
|
34555
|
34556
|
34557
|
34558
|
34559
|
34560
|
34561
|
34562
|
35783
|
35784
|
35785
|
35786
|
35787
|
35788
|
35789
|
35790
|
35791
|
35792
|
36295
|
36296
|
36297
|
36298
|
36299
|
36300
|
36301
|
36302
|
36303
|
36304