Bugzilla – Attachment 16750 Details for
Bug 8435
new permissions on subscriptions "superserials"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8435: Followup Fix permission description
Bug-8435-Followup-Fix-permission-description.patch (text/plain), 9.48 KB, created by
Jonathan Druart
on 2013-03-22 10:36:04 UTC
(
hide
)
Description:
Bug 8435: Followup Fix permission description
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-03-22 10:36:04 UTC
Size:
9.48 KB
patch
obsolete
>From 047ea287b1c82abd5ab080ef7c3850eeb1382883 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 22 Mar 2013 11:33:19 +0100 >Subject: [PATCH] Bug 8435: Followup Fix permission description > >--- > installer/data/mysql/de-DE/mandatory/userpermissions.sql | 2 +- > installer/data/mysql/en/mandatory/userpermissions.sql | 2 +- > installer/data/mysql/es-ES/mandatory/userpermissions.sql | 2 +- > installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql | 2 +- > installer/data/mysql/it-IT/necessari/userpermissions.sql | 2 +- > installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql | 2 +- > installer/data/mysql/pl-PL/mandatory/userpermissions.sql | 2 +- > installer/data/mysql/ru-RU/mandatory/permissions_and_user_flags.sql | 1 + > installer/data/mysql/uk-UA/mandatory/permissions_and_user_flags.sql | 1 + > installer/data/mysql/updatedatabase.pl | 2 +- > 10 files changed, 10 insertions(+), 8 deletions(-) > >diff --git a/installer/data/mysql/de-DE/mandatory/userpermissions.sql b/installer/data/mysql/de-DE/mandatory/userpermissions.sql >index 0b2edde..19b3207 100644 >--- a/installer/data/mysql/de-DE/mandatory/userpermissions.sql >+++ b/installer/data/mysql/de-DE/mandatory/userpermissions.sql >@@ -51,7 +51,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Zugang von Heften'), > (15, 'renew_subscription', 'Abonnements verlängern'), > (15, 'routing', 'Umlauflisten verwalten'), >- (15, 'superserials', 'Manage subscriptions from any branch'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'SQL-Reports ausführen'), > (16, 'create_reports', 'SQL-Reports erstellen'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >diff --git a/installer/data/mysql/en/mandatory/userpermissions.sql b/installer/data/mysql/en/mandatory/userpermissions.sql >index 674d767..0623bef 100644 >--- a/installer/data/mysql/en/mandatory/userpermissions.sql >+++ b/installer/data/mysql/en/mandatory/userpermissions.sql >@@ -51,7 +51,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Serials receiving'), > (15, 'renew_subscription', 'Renew a subscription'), > (15, 'routing', 'Routing'), >- (15, 'superserials', 'Manage subscriptions from any branch'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Execute SQL reports'), > (16, 'create_reports', 'Create SQL Reports'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >diff --git a/installer/data/mysql/es-ES/mandatory/userpermissions.sql b/installer/data/mysql/es-ES/mandatory/userpermissions.sql >index 674d767..0623bef 100644 >--- a/installer/data/mysql/es-ES/mandatory/userpermissions.sql >+++ b/installer/data/mysql/es-ES/mandatory/userpermissions.sql >@@ -51,7 +51,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Serials receiving'), > (15, 'renew_subscription', 'Renew a subscription'), > (15, 'routing', 'Routing'), >- (15, 'superserials', 'Manage subscriptions from any branch'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Execute SQL reports'), > (16, 'create_reports', 'Create SQL Reports'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql b/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql >index 58c1b36..94120be 100644 >--- a/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql >+++ b/installer/data/mysql/fr-FR/1-Obligatoire/userpermissions.sql >@@ -51,7 +51,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Bulletiner les périodiques'), > (15, 'renew_subscription', 'Renouveler les abonnements'), > (15, 'routing', 'Mettre en circulation'), >- (15, 'superserials', 'Manage subscriptions from any branch'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Lancer les rapports SQL'), > (16, 'create_reports', 'Créer les rapports SQL Reports'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >diff --git a/installer/data/mysql/it-IT/necessari/userpermissions.sql b/installer/data/mysql/it-IT/necessari/userpermissions.sql >index 054d3c7..6847032 100644 >--- a/installer/data/mysql/it-IT/necessari/userpermissions.sql >+++ b/installer/data/mysql/it-IT/necessari/userpermissions.sql >@@ -53,7 +53,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Ricevi fascicoli'), > (15, 'renew_subscription', 'Rinnova un abbonamento'), > (15, 'routing', 'Crea/Manipola liste di distribuzione dei fascicoli ( routing list)'), >- (15, 'superserials', 'Manage subscriptions from any branch'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Esegui reports SQL'), > (16, 'create_reports', 'Crea reports SQL'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >diff --git a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql b/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql >index f9163a5..168378e 100644 >--- a/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql >+++ b/installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql >@@ -71,7 +71,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Heftemottak'), > (15, 'renew_subscription', 'Fornye abonnementer'), > (15, 'routing', 'Sirkulasjon'), >- (15, 'superserials', 'Manage subscriptions from any branch'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Kjøre SQL-rapporter'), > (16, 'create_reports', 'Opprette SQL-rapporter'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >diff --git a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql b/installer/data/mysql/pl-PL/mandatory/userpermissions.sql >index 92884d8..f298410 100644 >--- a/installer/data/mysql/pl-PL/mandatory/userpermissions.sql >+++ b/installer/data/mysql/pl-PL/mandatory/userpermissions.sql >@@ -52,7 +52,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Serials receiving'), > (15, 'renew_subscription', 'Renew a subscription'), > (15, 'routing', 'Routing'), >- (15, 'superserials', 'Manage subscriptions from any branch'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Execute SQL reports'), > (16, 'create_reports', 'Create SQL Reports'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >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 cb62c49..fc6592b 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 >@@ -76,6 +76,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Serials receiving'), > (15, 'renew_subscription', 'Renew a subscription'), > (15, 'routing', 'Routing'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Execute SQL reports'), > (16, 'create_reports', 'Create SQL Reports'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >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 5609c0d..cfa68c1 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 >@@ -76,6 +76,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES > (15, 'receive_serials', 'Serials receiving'), > (15, 'renew_subscription', 'Renew a subscription'), > (15, 'routing', 'Routing'), >+ (15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)'), > (16, 'execute_reports', 'Execute SQL reports'), > (16, 'create_reports', 'Create SQL Reports'), > (19, 'manage', 'Manage plugins ( install / uninstall )'), >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 4177776..b5685ca 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -6702,7 +6702,7 @@ if ( CheckVersion($DBversion) ) { > > $DBversion = "XXX"; > if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { >- $dbh->do("INSERT INTO permissions (module_bit, code, description) VALUES(15, 'superserials', 'Manage subscriptions from any branch')"); >+ $dbh->do("INSERT INTO permissions (module_bit, code, description) VALUES(15, 'superserials', 'Manage subscriptions from any branch (only applies when IndependantBranches is used)')"); > print "Upgrade to $DBversion done (Add superserials permission)\n"; > SetVersion($DBversion); > } >-- >1.7.10.4
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 8435
:
10821
|
11377
|
11411
|
11892
|
13396
|
15673
|
16404
|
16462
|
16740
|
16750
|
16751
|
16798
|
16799
|
16801
|
16802
|
16803
|
16943
|
16944
|
19260
|
19261
|
19266
|
19268
|
20536
|
21286
|
21287
|
21288
|
21289
|
22624
|
22625
|
22626
|
22627
|
22628