Bugzilla – Attachment 189243 Details for
Bug 39224
Move Shibboleth config from koha-conf to the DB
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39224: add is_boolean definitions for shibboleth tables to schema
Bug-39224-add-isboolean-definitions-for-shibboleth.patch (text/plain), 1.99 KB, created by
Jacob O'Mara
on 2025-11-06 22:12:05 UTC
(
hide
)
Description:
Bug 39224: add is_boolean definitions for shibboleth tables to schema
Filename:
MIME Type:
Creator:
Jacob O'Mara
Created:
2025-11-06 22:12:05 UTC
Size:
1.99 KB
patch
obsolete
>From 5f49c760bef29210c0574b1ed93718d3bde5d7d5 Mon Sep 17 00:00:00 2001 >From: Jacob O'Mara <jacob.omara@openfifth.co.uk> >Date: Tue, 4 Nov 2025 15:55:41 +0000 >Subject: [PATCH] Bug 39224: add is_boolean definitions for shibboleth tables > to schema > >This applies to controllers: >- ShibolethConfig > - sync > - welcome > - autocreate > - force{opac/staff}sso >- ShibbolethFieldMapping > - is_matchpoint >--- > Koha/Schema/Result/ShibbolethConfig.pm | 7 +++++++ > Koha/Schema/Result/ShibbolethFieldMapping.pm | 3 +++ > 2 files changed, 10 insertions(+) > >diff --git a/Koha/Schema/Result/ShibbolethConfig.pm b/Koha/Schema/Result/ShibbolethConfig.pm >index c7456989f27..2de6c29fe52 100644 >--- a/Koha/Schema/Result/ShibbolethConfig.pm >+++ b/Koha/Schema/Result/ShibbolethConfig.pm >@@ -104,6 +104,13 @@ __PACKAGE__->set_primary_key("shibboleth_config_id"); > # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-31 15:43:50 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AIDq10SUxo8NgJsBj8oldg > >+__PACKAGE__->add_columns( >+ '+force_opac_sso' => { is_boolean => 1 }, >+ '+force_staff_sso' => { is_boolean => 1 }, >+ '+autocreate' => { is_boolean => 1 }, >+ '+sync' => { is_boolean => 1 }, >+ '+welcome' => { is_boolean => 1 }, >+); > > # You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >diff --git a/Koha/Schema/Result/ShibbolethFieldMapping.pm b/Koha/Schema/Result/ShibbolethFieldMapping.pm >index 0735f02a870..8054cc31b08 100644 >--- a/Koha/Schema/Result/ShibbolethFieldMapping.pm >+++ b/Koha/Schema/Result/ShibbolethFieldMapping.pm >@@ -108,6 +108,9 @@ __PACKAGE__->add_unique_constraint("koha_field_idx", ["koha_field"]); > # Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-31 15:43:50 > # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jMBj5Kjjkh1fX74py69SXQ > >+__PACKAGE__->add_columns( >+ '+is_matchpoint' => { is_boolean => 1 }, >+); > > # You can replace this text with custom code or comments, and it will be preserved on regeneration > 1; >-- >2.39.5
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 39224
:
189234
|
189235
|
189236
|
189237
|
189238
|
189239
|
189240
|
189241
|
189242
| 189243 |
189244