Bugzilla – Attachment 174091 Details for
Bug 37711
IdP auto-register should work on the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37711: DBIC schema
Bug-37711-DBIC-schema.patch (text/plain), 2.88 KB, created by
Martin Renvoize (ashimema)
on 2024-11-06 17:25:47 UTC
(
hide
)
Description:
Bug 37711: DBIC schema
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-11-06 17:25:47 UTC
Size:
2.88 KB
patch
obsolete
>From 0386cd9a8c9e6321df29c9a5925cf0792f3eeae8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 22 Aug 2024 15:16:47 -0300 >Subject: [PATCH] Bug 37711: DBIC schema > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/IdentityProviderDomain.pm | 43 ++++++++++++-------- > 1 file changed, 27 insertions(+), 16 deletions(-) > >diff --git a/Koha/Schema/Result/IdentityProviderDomain.pm b/Koha/Schema/Result/IdentityProviderDomain.pm >index 897c796e4c8..d699100e4c5 100644 >--- a/Koha/Schema/Result/IdentityProviderDomain.pm >+++ b/Koha/Schema/Result/IdentityProviderDomain.pm >@@ -47,14 +47,6 @@ Reference to provider > > Domain name. If null means all domains > >-=head2 auto_register >- >- data_type: 'tinyint' >- default_value: 0 >- is_nullable: 0 >- >-Allow user auto register >- > =head2 update_on_auth > > data_type: 'tinyint' >@@ -97,6 +89,22 @@ Allow provider from opac interface > > Allow provider from staff interface > >+=head2 auto_register_opac >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+Allow user auto register (OPAC) >+ >+=head2 auto_register_staff >+ >+ data_type: 'tinyint' >+ default_value: 0 >+ is_nullable: 0 >+ >+Allow user auto register (Staff interface) >+ > =cut > > __PACKAGE__->add_columns( >@@ -106,8 +114,6 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, > "domain", > { data_type => "varchar", is_nullable => 1, size => 100 }, >- "auto_register", >- { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "update_on_auth", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > "default_library_id", >@@ -118,6 +124,10 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > "allow_staff", > { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "auto_register_opac", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, >+ "auto_register_staff", >+ { data_type => "tinyint", default_value => 0, is_nullable => 0 }, > ); > > =head1 PRIMARY KEY >@@ -206,14 +216,15 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-08 17:35:26 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uUnzFzRKWAiYUsmapofXwQ >+# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-08-22 18:15:05 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GpRUQgJ3WUt9nAAS0E9qWw > > __PACKAGE__->add_columns( >- '+auto_register' => { is_boolean => 1 }, >- '+update_on_auth' => { is_boolean => 1 }, >- '+allow_opac' => { is_boolean => 1 }, >- '+allow_staff' => { is_boolean => 1 } >+ '+auto_register_opac' => { is_boolean => 1 }, >+ '+auto_register_staff' => { is_boolean => 1 }, >+ '+update_on_auth' => { is_boolean => 1 }, >+ '+allow_opac' => { is_boolean => 1 }, >+ '+allow_staff' => { is_boolean => 1 } > ); > > sub koha_object_class { >-- >2.47.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 37711
:
170643
|
170644
|
170645
|
170646
|
170647
|
174090
| 174091 |
174092
|
174093
|
174094