Bugzilla – Attachment 124168 Details for
Bug 20028
Export all patron related personal data in one package
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20028: (QA follow-up) Add atomic update for new pref
Bug-20028-QA-follow-up-Add-atomic-update-for-new-p.patch (text/plain), 2.63 KB, created by
Lari Taskula
on 2021-08-27 10:01:01 UTC
(
hide
)
Description:
Bug 20028: (QA follow-up) Add atomic update for new pref
Filename:
MIME Type:
Creator:
Lari Taskula
Created:
2021-08-27 10:01:01 UTC
Size:
2.63 KB
patch
obsolete
>From 63fdf80f991651c1254282e0569bfd1ded19e59d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 27 Aug 2021 07:56:55 +0000 >Subject: [PATCH] Bug 20028: (QA follow-up) Add atomic update for new pref > >Setting the initial value to 0 just to be on the safe side. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > installer/data/mysql/atomicupdate/bug_20028.pl | 15 +++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 2 +- > 2 files changed, 16 insertions(+), 1 deletion(-) > create mode 100755 installer/data/mysql/atomicupdate/bug_20028.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_20028.pl b/installer/data/mysql/atomicupdate/bug_20028.pl >new file mode 100755 >index 0000000000..090bb5d888 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_20028.pl >@@ -0,0 +1,15 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "20028", >+ description => "Add pref AllowGDPRPatronExport", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ $dbh->do(q{ >+INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES >+('AllowGDPRPatronExport','0','','If set all data for a patron can be exported from the staff interface.','YesNo') >+ }); >+ #say $out "Update is going well so far"; >+ }, >+} >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 154905ea40..29348fe1c4 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -25,7 +25,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('AllFinesNeedOverride','1','0','If on, staff will be asked to override every fine, even if it is below noissuescharge.','YesNo'), > ('AllowAllMessageDeletion','0','','Allow any Library to delete any message','YesNo'), > ('AllowFineOverride','0','0','If on, staff will be able to issue books to patrons with fines greater than noissuescharge.','YesNo'), >-('AllowGDPRPatronExport','1','','If set all data for a patron can be exported from the staff interface.','YesNo'), >+('AllowGDPRPatronExport','0','','If set all data for a patron can be exported from the staff interface.','YesNo'), > ('AllowHoldDateInFuture','0','','If set a date field is displayed on the Hold screen of the Staff Interface, allowing the hold date to be set in the future.','YesNo'), > ('AllowHoldItemTypeSelection','0','','If enabled, patrons and staff will be able to select the itemtype when placing a hold','YesNo'), > ('AllowHoldPolicyOverride','0',NULL,'Allow staff to override hold policies when placing holds','YesNo'), >-- >2.25.1
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 20028
:
75622
|
78095
|
79376
|
79381
|
116344
|
116604
|
117106
|
117107
|
117108
|
117109
|
119968
|
119969
|
119970
|
119971
|
119972
|
119974
|
119975
|
119976
|
119977
|
120844
|
120845
|
120846
|
120847
|
124156
|
124157
|
124158
|
124159
|
124160
|
124161
|
124164
|
124165
|
124166
|
124167
| 124168