View | Details | Raw Unified | Return to bug 37711
Collapse All | Expand All

(-)a/Koha/Schema/Result/IdentityProviderDomain.pm (-17 / +27 lines)
Lines 47-60 Reference to provider Link Here
47
47
48
Domain name. If null means all domains
48
Domain name. If null means all domains
49
49
50
=head2 auto_register
51
52
  data_type: 'tinyint'
53
  default_value: 0
54
  is_nullable: 0
55
56
Allow user auto register
57
58
=head2 update_on_auth
50
=head2 update_on_auth
59
51
60
  data_type: 'tinyint'
52
  data_type: 'tinyint'
Lines 97-102 Allow provider from opac interface Link Here
97
89
98
Allow provider from staff interface
90
Allow provider from staff interface
99
91
92
=head2 auto_register_opac
93
94
  data_type: 'tinyint'
95
  default_value: 0
96
  is_nullable: 0
97
98
Allow user auto register (OPAC)
99
100
=head2 auto_register_staff
101
102
  data_type: 'tinyint'
103
  default_value: 0
104
  is_nullable: 0
105
106
Allow user auto register (Staff interface)
107
100
=cut
108
=cut
101
109
102
__PACKAGE__->add_columns(
110
__PACKAGE__->add_columns(
Lines 106-113 __PACKAGE__->add_columns( Link Here
106
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
114
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
107
  "domain",
115
  "domain",
108
  { data_type => "varchar", is_nullable => 1, size => 100 },
116
  { data_type => "varchar", is_nullable => 1, size => 100 },
109
  "auto_register",
110
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
111
  "update_on_auth",
117
  "update_on_auth",
112
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
118
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
113
  "default_library_id",
119
  "default_library_id",
Lines 118-123 __PACKAGE__->add_columns( Link Here
118
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
124
  { data_type => "tinyint", default_value => 1, is_nullable => 0 },
119
  "allow_staff",
125
  "allow_staff",
120
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
126
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
127
  "auto_register_opac",
128
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
129
  "auto_register_staff",
130
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
121
);
131
);
122
132
123
=head1 PRIMARY KEY
133
=head1 PRIMARY KEY
Lines 206-219 __PACKAGE__->belongs_to( Link Here
206
);
216
);
207
217
208
218
209
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-08 17:35:26
219
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-08-22 18:15:05
210
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uUnzFzRKWAiYUsmapofXwQ
220
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GpRUQgJ3WUt9nAAS0E9qWw
211
221
212
__PACKAGE__->add_columns(
222
__PACKAGE__->add_columns(
213
    '+auto_register'  => { is_boolean => 1 },
223
    '+auto_register_opac'  => { is_boolean => 1 },
214
    '+update_on_auth' => { is_boolean => 1 },
224
    '+auto_register_staff' => { is_boolean => 1 },
215
    '+allow_opac'     => { is_boolean => 1 },
225
    '+update_on_auth'      => { is_boolean => 1 },
216
    '+allow_staff'    => { is_boolean => 1 }
226
    '+allow_opac'          => { is_boolean => 1 },
227
    '+allow_staff'         => { is_boolean => 1 }
217
);
228
);
218
229
219
sub koha_object_class {
230
sub koha_object_class {
220
- 

Return to bug 37711