Bugzilla – Attachment 95973 Details for
Bug 24151
Add a pseudonymization process for patrons and transactions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24151: Add Koha::Anonymized::Patron::Attribute[s] classes
Bug-24151-Add-KohaAnonymizedPatronAttributes-class.patch (text/plain), 3.37 KB, created by
Jonathan Druart
on 2019-12-03 18:11:54 UTC
(
hide
)
Description:
Bug 24151: Add Koha::Anonymized::Patron::Attribute[s] classes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-12-03 18:11:54 UTC
Size:
3.37 KB
patch
obsolete
>From 5cbb51a3bd466465b653c86501973db117e6bd43 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 27 Nov 2019 16:53:42 +0100 >Subject: [PATCH] Bug 24151: Add Koha::Anonymized::Patron::Attribute[s] classes > >Sponsored-by: Association KohaLa - https://koha-fr.org/ >--- > Koha/Anonymized/Patron/Attribute.pm | 49 +++++++++++++++++++++++++++++++++ > Koha/Anonymized/Patron/Attributes.pm | 52 ++++++++++++++++++++++++++++++++++++ > 2 files changed, 101 insertions(+) > create mode 100644 Koha/Anonymized/Patron/Attribute.pm > create mode 100644 Koha/Anonymized/Patron/Attributes.pm > >diff --git a/Koha/Anonymized/Patron/Attribute.pm b/Koha/Anonymized/Patron/Attribute.pm >new file mode 100644 >index 0000000000..68f6e571cd >--- /dev/null >+++ b/Koha/Anonymized/Patron/Attribute.pm >@@ -0,0 +1,49 @@ >+package Koha::Anonymized::Patron::Attribute; >+ >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ >+use Modern::Perl; >+ >+use Carp; >+ >+use Koha::Database; >+use Koha::Anonymized; >+ >+use base qw(Koha::Object); >+ >+=head1 NAME >+ >+Koha::Anonymized::Patron::Attribute - Koha Anonymized::Patron::Attribute Object class >+ >+=head1 API >+ >+=head2 Class methods >+ >+=head3 new >+ >+=cut >+ >+=head2 Internal methods >+ >+=head3 _type >+ >+=cut >+ >+sub _type { >+ return 'AnonymizedBorrowerAttribute'; >+} >+ >+1; >diff --git a/Koha/Anonymized/Patron/Attributes.pm b/Koha/Anonymized/Patron/Attributes.pm >new file mode 100644 >index 0000000000..8594f68c09 >--- /dev/null >+++ b/Koha/Anonymized/Patron/Attributes.pm >@@ -0,0 +1,52 @@ >+package Koha::Anonymized::Patron::Attributes; >+ >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 3 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+ >+use Modern::Perl; >+ >+use Carp; >+ >+use Koha::Database; >+ >+use Koha::Anonymized::Patron::Attribute; >+ >+use base qw(Koha::Objects); >+ >+=head1 NAME >+ >+Koha::Anonymized::Patron::Attributes - Koha Anonymized Patron Attribute Object set class >+ >+=head1 API >+ >+=cut >+ >+=head2 Class Methods >+ >+=cut >+ >+=head3 type >+ >+=cut >+ >+sub _type { >+ return 'AnonymizedBorrowerAttribute'; >+} >+ >+sub object_class { >+ return 'Koha::Anonymized::Patron::Attribute'; >+} >+ >+1; >-- >2.11.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 24151
:
95959
|
95960
|
95961
|
95962
|
95963
|
95964
|
95965
|
95966
|
95967
|
95968
|
95969
|
95970
|
95971
|
95972
|
95973
|
95974
|
95975
|
95976
|
97240
|
97241
|
97242
|
97243
|
97244
|
97245
|
97246
|
97247
|
97248
|
97249
|
97250
|
97251
|
97252
|
101034
|
101035
|
101036
|
101037
|
101038
|
101039
|
101040
|
101041
|
101042
|
101043
|
101044
|
101045
|
101046
|
101047
|
101048
|
101049
|
105801
|
105802
|
105803
|
105804
|
105805
|
105806
|
105807
|
105808
|
105809
|
105810
|
105811
|
105812
|
105813
|
105814
|
105815
|
105816
|
106032
|
106033
|
106034
|
106035
|
106036
|
106037
|
106038
|
106039
|
106040
|
106041
|
106042
|
106043
|
106044
|
106045
|
106046
|
106047
|
106048
|
106049
|
106195
|
106255
|
107127
|
107225