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

(-)a/Koha/REST/V1/Auth/Identity/Provider/Domains.pm (-6 / +6 lines)
Lines 30-42 use Try::Tiny; Link Here
30
=head1 NAME
30
=head1 NAME
31
31
32
Koha::REST::V1::Auth::Identity::Provider::Domains - Controller library for handling
32
Koha::REST::V1::Auth::Identity::Provider::Domains - Controller library for handling
33
authentication provider domains routes.
33
identity provider domains routes.
34
34
35
=head2 Operations
35
=head2 Operations
36
36
37
=head3 list
37
=head3 list
38
38
39
Controller method for listing authentication provider domains.
39
Controller method for listing identity provider domains.
40
40
41
=cut
41
=cut
42
42
Lines 69-75 sub list { Link Here
69
69
70
=head3 get
70
=head3 get
71
71
72
Controller method for retrieving an authentication provider domain.
72
Controller method for retrieving an identity provider domain.
73
73
74
=cut
74
=cut
75
75
Lines 114-120 sub get { Link Here
114
114
115
=head3 add
115
=head3 add
116
116
117
Controller method for adding an authentication provider.
117
Controller method for adding an identity provider.
118
118
119
=cut
119
=cut
120
120
Lines 153-159 sub add { Link Here
153
153
154
=head3 update
154
=head3 update
155
155
156
Controller method for updating an authentication provider domain.
156
Controller method for updating an identity provider domain.
157
157
158
=cut
158
=cut
159
159
Lines 197-203 sub update { Link Here
197
197
198
=head3 delete
198
=head3 delete
199
199
200
Controller method for deleting an authentication provider.
200
Controller method for deleting an identity provider.
201
201
202
=cut
202
=cut
203
203
(-)a/Koha/REST/V1/Auth/Identity/Providers.pm (-6 / +6 lines)
Lines 31-43 use Try::Tiny; Link Here
31
=head1 NAME
31
=head1 NAME
32
32
33
Koha::REST::V1::Auth::Identity::Providers - Controller library for handling
33
Koha::REST::V1::Auth::Identity::Providers - Controller library for handling
34
authentication providers routes.
34
identity providers routes.
35
35
36
=head2 Operations
36
=head2 Operations
37
37
38
=head3 list
38
=head3 list
39
39
40
Controller method for listing authentication providers.
40
Controller method for listing identity providers.
41
41
42
=cut
42
=cut
43
43
Lines 57-63 sub list { Link Here
57
57
58
=head3 get
58
=head3 get
59
59
60
Controller method for retrieving an authentication provider.
60
Controller method for retrieving an identity provider.
61
61
62
=cut
62
=cut
63
63
Lines 88-94 sub get { Link Here
88
88
89
=head3 add
89
=head3 add
90
90
91
Controller method for adding an authentication provider.
91
Controller method for adding an identity provider.
92
92
93
=cut
93
=cut
94
94
Lines 140-146 sub add { Link Here
140
140
141
=head3 update
141
=head3 update
142
142
143
Controller method for updating an authentication provider.
143
Controller method for updating an identity provider.
144
144
145
=cut
145
=cut
146
146
Lines 204-210 sub update { Link Here
204
204
205
=head3 delete
205
=head3 delete
206
206
207
Controller method for deleting an authentication provider.
207
Controller method for deleting an identity provider.
208
208
209
=cut
209
=cut
210
210
(-)a/api/v1/swagger/definitions/identity_provider.yaml (-3 / +3 lines)
Lines 3-12 type: object Link Here
3
properties:
3
properties:
4
  identity_provider_id:
4
  identity_provider_id:
5
    type: integer
5
    type: integer
6
    description: Internally assigned authentication provider identifier
6
    description: Internally assigned identity provider identifier
7
    readOnly: true
7
    readOnly: true
8
  code:
8
  code:
9
    description: Authentication provider code
9
    description: Identity provider code
10
    type: string
10
    type: string
11
  description:
11
  description:
12
    description: User-oriented description for the provider
12
    description: User-oriented description for the provider
Lines 40-46 properties: Link Here
40
     - string
40
     - string
41
     - "null"
41
     - "null"
42
  domains:
42
  domains:
43
    description: Configured domains for the authentication provider
43
    description: Configured domains for the identity provider
44
    type:
44
    type:
45
      - array
45
      - array
46
      - "null"
46
      - "null"
(-)a/api/v1/swagger/definitions/identity_provider_domain.yaml (-2 / +2 lines)
Lines 3-13 type: object Link Here
3
properties:
3
properties:
4
  identity_provider_domain_id:
4
  identity_provider_domain_id:
5
    type: integer
5
    type: integer
6
    description: Internally assigned authentication provider domain identifier
6
    description: Internally assigned identity provider domain identifier
7
    readOnly: true
7
    readOnly: true
8
  identity_provider_id:
8
  identity_provider_id:
9
    type: integer
9
    type: integer
10
    description: Internally assigned authentication provider identifier
10
    description: Internally assigned identity provider identifier
11
  domain:
11
  domain:
12
    description: Matching domain ('*' used as wildcard)
12
    description: Matching domain ('*' used as wildcard)
13
    type:
13
    type:
(-)a/api/v1/swagger/paths/auth.yaml (-41 / +41 lines)
Lines 134-140 Link Here
134
    operationId: listAuthProviders
134
    operationId: listAuthProviders
135
    tags:
135
    tags:
136
      - auth_providers
136
      - auth_providers
137
    summary: List configured authentication providers
137
    summary: List configured identity providers
138
    parameters:
138
    parameters:
139
      - $ref: ../swagger.yaml#/parameters/match
139
      - $ref: ../swagger.yaml#/parameters/match
140
      - $ref: ../swagger.yaml#/parameters/order_by
140
      - $ref: ../swagger.yaml#/parameters/order_by
Lines 158-164 Link Here
158
      - application/json
158
      - application/json
159
    responses:
159
    responses:
160
      "200":
160
      "200":
161
        description: A list of authentication providers
161
        description: A list of identity providers
162
        schema:
162
        schema:
163
          type: array
163
          type: array
164
          items:
164
          items:
Lines 190-196 Link Here
190
    operationId: addAuthProvider
190
    operationId: addAuthProvider
191
    tags:
191
    tags:
192
      - auth_providers
192
      - auth_providers
193
    summary: Add a new authentication provider
193
    summary: Add a new identity provider
194
    parameters:
194
    parameters:
195
      - name: body
195
      - name: body
196
        in: body
196
        in: body
Lines 222-228 Link Here
222
      - application/json
222
      - application/json
223
    responses:
223
    responses:
224
      "201":
224
      "201":
225
        description: The generated authentication provider
225
        description: The generated identity provider
226
        schema:
226
        schema:
227
          $ref: ../swagger.yaml#/definitions/auth_provider
227
          $ref: ../swagger.yaml#/definitions/auth_provider
228
      "400":
228
      "400":
Lines 253-259 Link Here
253
    operationId: getAuthProvider
253
    operationId: getAuthProvider
254
    tags:
254
    tags:
255
      - auth_providers
255
      - auth_providers
256
    summary: Get authentication provider
256
    summary: Get identity provider
257
    parameters:
257
    parameters:
258
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
258
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
259
      - name: x-koha-embed
259
      - name: x-koha-embed
Lines 270-276 Link Here
270
      - application/json
270
      - application/json
271
    responses:
271
    responses:
272
      "200":
272
      "200":
273
        description: An authentication provider
273
        description: An identity provider
274
        schema:
274
        schema:
275
          $ref: ../swagger.yaml#/definitions/auth_provider
275
          $ref: ../swagger.yaml#/definitions/auth_provider
276
      "404":
276
      "404":
Lines 296-302 Link Here
296
    operationId: updateAuthProvider
296
    operationId: updateAuthProvider
297
    tags:
297
    tags:
298
      - auth_providers
298
      - auth_providers
299
    summary: Update an authentication provider
299
    summary: Update an identity provider
300
    parameters:
300
    parameters:
301
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
301
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
302
      - name: body
302
      - name: body
Lines 329-335 Link Here
329
      - application/json
329
      - application/json
330
    responses:
330
    responses:
331
      "200":
331
      "200":
332
        description: Updated authentication provider
332
        description: Updated identity provider
333
        schema:
333
        schema:
334
          $ref: ../swagger.yaml#/definitions/auth_provider
334
          $ref: ../swagger.yaml#/definitions/auth_provider
335
      "400":
335
      "400":
Lines 363-376 Link Here
363
    operationId: delAuthProvider
363
    operationId: delAuthProvider
364
    tags:
364
    tags:
365
      - auth_providers
365
      - auth_providers
366
    summary: Delete authentication provider
366
    summary: Delete identity provider
367
    parameters:
367
    parameters:
368
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
368
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
369
    produces:
369
    produces:
370
      - application/json
370
      - application/json
371
    responses:
371
    responses:
372
      "204":
372
      "204":
373
        description: Authentication provider deleted
373
        description: identity provider deleted
374
      "401":
374
      "401":
375
        description: Authentication required
375
        description: Authentication required
376
        schema:
376
        schema:
Lines 401-407 Link Here
401
    operationId: listAuthProviderDomains
401
    operationId: listAuthProviderDomains
402
    tags:
402
    tags:
403
      - auth_providers
403
      - auth_providers
404
    summary: Get authentication provider configured domains
404
    summary: Get identity provider configured domains
405
    parameters:
405
    parameters:
406
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
406
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
407
      - $ref: ../swagger.yaml#/parameters/match
407
      - $ref: ../swagger.yaml#/parameters/match
Lines 426-432 Link Here
426
      - application/json
426
      - application/json
427
    responses:
427
    responses:
428
      "200":
428
      "200":
429
        description: An authentication provider
429
        description: An identity provider
430
        schema:
430
        schema:
431
          items:
431
          items:
432
            $ref: ../swagger.yaml#/definitions/auth_provider_domain
432
            $ref: ../swagger.yaml#/definitions/auth_provider_domain
Lines 453-464 Link Here
453
    operationId: addAuthProviderDomain
453
    operationId: addAuthProviderDomain
454
    tags:
454
    tags:
455
      - auth_providers
455
      - auth_providers
456
    summary: Add an authentication provider domain
456
    summary: Add an identity provider domain
457
    parameters:
457
    parameters:
458
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
458
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
459
      - name: body
459
      - name: body
460
        in: body
460
        in: body
461
        description: An authentication provider domain object
461
        description: An identity provider domain object
462
        required: true
462
        required: true
463
        schema:
463
        schema:
464
          $ref: ../swagger.yaml#/definitions/auth_provider_domain
464
          $ref: ../swagger.yaml#/definitions/auth_provider_domain
Lines 466-472 Link Here
466
      - application/json
466
      - application/json
467
    responses:
467
    responses:
468
      "201":
468
      "201":
469
        description: Updated authentication provider domain
469
        description: Updated identity provider domain
470
        schema:
470
        schema:
471
          $ref: ../swagger.yaml#/definitions/auth_provider_domain
471
          $ref: ../swagger.yaml#/definitions/auth_provider_domain
472
      "400":
472
      "400":
Lines 501-507 Link Here
501
    operationId: getAuthProviderDomain
501
    operationId: getAuthProviderDomain
502
    tags:
502
    tags:
503
      - auth_providers
503
      - auth_providers
504
    summary: Get authentication provider domain
504
    summary: Get identity provider domain
505
    parameters:
505
    parameters:
506
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
506
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
507
      - $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp
507
      - $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp
Lines 509-515 Link Here
509
      - application/json
509
      - application/json
510
    responses:
510
    responses:
511
      "200":
511
      "200":
512
        description: An authentication provider
512
        description: An identity provider
513
        schema:
513
        schema:
514
          $ref: ../swagger.yaml#/definitions/auth_provider_domain
514
          $ref: ../swagger.yaml#/definitions/auth_provider_domain
515
      "404":
515
      "404":
Lines 535-541 Link Here
535
    operationId: delAuthProviderDomain
535
    operationId: delAuthProviderDomain
536
    tags:
536
    tags:
537
      - auth_providers
537
      - auth_providers
538
    summary: Delete authentication provider
538
    summary: Delete identity provider
539
    parameters:
539
    parameters:
540
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
540
      - $ref: ../swagger.yaml#/parameters/auth_provider_id_pp
541
      - $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp
541
      - $ref: ../swagger.yaml#/parameters/auth_provider_domain_id_pp
Lines 543-549 Link Here
543
      - application/json
543
      - application/json
544
    responses:
544
    responses:
545
      "204":
545
      "204":
546
        description: Authentication provider deleted
546
        description: identity provider deleted
547
      "401":
547
      "401":
548
        description: Authentication required
548
        description: Authentication required
549
        schema:
549
        schema:
Lines 574-580 Link Here
574
    operationId: listIdentityProviders
574
    operationId: listIdentityProviders
575
    tags:
575
    tags:
576
      - identity_providers
576
      - identity_providers
577
    summary: List configured authentication providers
577
    summary: List configured identity providers
578
    parameters:
578
    parameters:
579
      - $ref: ../swagger.yaml#/parameters/match
579
      - $ref: ../swagger.yaml#/parameters/match
580
      - $ref: ../swagger.yaml#/parameters/order_by
580
      - $ref: ../swagger.yaml#/parameters/order_by
Lines 598-604 Link Here
598
      - application/json
598
      - application/json
599
    responses:
599
    responses:
600
      "200":
600
      "200":
601
        description: A list of authentication providers
601
        description: A list of identity providers
602
        schema:
602
        schema:
603
          type: array
603
          type: array
604
          items:
604
          items:
Lines 630-636 Link Here
630
    operationId: addIdentityProvider
630
    operationId: addIdentityProvider
631
    tags:
631
    tags:
632
      - identity_providers
632
      - identity_providers
633
    summary: Add a new authentication provider
633
    summary: Add a new identity provider
634
    parameters:
634
    parameters:
635
      - name: body
635
      - name: body
636
        in: body
636
        in: body
Lines 662-668 Link Here
662
      - application/json
662
      - application/json
663
    responses:
663
    responses:
664
      "201":
664
      "201":
665
        description: The generated authentication provider
665
        description: The generated identity provider
666
        schema:
666
        schema:
667
          $ref: ../swagger.yaml#/definitions/identity_provider
667
          $ref: ../swagger.yaml#/definitions/identity_provider
668
      "400":
668
      "400":
Lines 693-699 Link Here
693
    operationId: getIdentityProvider
693
    operationId: getIdentityProvider
694
    tags:
694
    tags:
695
      - identity_providers
695
      - identity_providers
696
    summary: Get authentication provider
696
    summary: Get identity provider
697
    parameters:
697
    parameters:
698
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
698
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
699
      - name: x-koha-embed
699
      - name: x-koha-embed
Lines 710-716 Link Here
710
      - application/json
710
      - application/json
711
    responses:
711
    responses:
712
      "200":
712
      "200":
713
        description: An authentication provider
713
        description: An identity provider
714
        schema:
714
        schema:
715
          $ref: ../swagger.yaml#/definitions/identity_provider
715
          $ref: ../swagger.yaml#/definitions/identity_provider
716
      "404":
716
      "404":
Lines 736-742 Link Here
736
    operationId: updateIdentityProvider
736
    operationId: updateIdentityProvider
737
    tags:
737
    tags:
738
      - identity_providers
738
      - identity_providers
739
    summary: Update an authentication provider
739
    summary: Update an identity provider
740
    parameters:
740
    parameters:
741
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
741
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
742
      - name: body
742
      - name: body
Lines 769-775 Link Here
769
      - application/json
769
      - application/json
770
    responses:
770
    responses:
771
      "200":
771
      "200":
772
        description: Updated authentication provider
772
        description: Updated identity provider
773
        schema:
773
        schema:
774
          $ref: ../swagger.yaml#/definitions/identity_provider
774
          $ref: ../swagger.yaml#/definitions/identity_provider
775
      "400":
775
      "400":
Lines 803-816 Link Here
803
    operationId: delIdentityProvider
803
    operationId: delIdentityProvider
804
    tags:
804
    tags:
805
      - identity_providers
805
      - identity_providers
806
    summary: Delete authentication provider
806
    summary: Delete identity provider
807
    parameters:
807
    parameters:
808
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
808
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
809
    produces:
809
    produces:
810
      - application/json
810
      - application/json
811
    responses:
811
    responses:
812
      "204":
812
      "204":
813
        description: Authentication provider deleted
813
        description: identity provider deleted
814
      "401":
814
      "401":
815
        description: Authentication required
815
        description: Authentication required
816
        schema:
816
        schema:
Lines 841-847 Link Here
841
    operationId: listIdentityProviderDomains
841
    operationId: listIdentityProviderDomains
842
    tags:
842
    tags:
843
      - identity_providers
843
      - identity_providers
844
    summary: Get authentication provider configured domains
844
    summary: Get identity provider configured domains
845
    parameters:
845
    parameters:
846
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
846
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
847
      - $ref: ../swagger.yaml#/parameters/match
847
      - $ref: ../swagger.yaml#/parameters/match
Lines 866-872 Link Here
866
      - application/json
866
      - application/json
867
    responses:
867
    responses:
868
      "200":
868
      "200":
869
        description: An authentication provider
869
        description: An identity provider
870
        schema:
870
        schema:
871
          items:
871
          items:
872
            $ref: ../swagger.yaml#/definitions/identity_provider_domain
872
            $ref: ../swagger.yaml#/definitions/identity_provider_domain
Lines 893-904 Link Here
893
    operationId: addIdentityProviderDomain
893
    operationId: addIdentityProviderDomain
894
    tags:
894
    tags:
895
      - identity_providers
895
      - identity_providers
896
    summary: Add an authentication provider domain
896
    summary: Add an identity provider domain
897
    parameters:
897
    parameters:
898
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
898
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
899
      - name: body
899
      - name: body
900
        in: body
900
        in: body
901
        description: An authentication provider domain object
901
        description: An identity provider domain object
902
        required: true
902
        required: true
903
        schema:
903
        schema:
904
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
904
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
Lines 906-912 Link Here
906
      - application/json
906
      - application/json
907
    responses:
907
    responses:
908
      "201":
908
      "201":
909
        description: Updated authentication provider domain
909
        description: Updated identity provider domain
910
        schema:
910
        schema:
911
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
911
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
912
      "400":
912
      "400":
Lines 941-947 Link Here
941
    operationId: getIdentityProviderDomain
941
    operationId: getIdentityProviderDomain
942
    tags:
942
    tags:
943
      - identity_providers
943
      - identity_providers
944
    summary: Get authentication provider domain
944
    summary: Get identity provider domain
945
    parameters:
945
    parameters:
946
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
946
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
947
      - $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp
947
      - $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp
Lines 949-955 Link Here
949
      - application/json
949
      - application/json
950
    responses:
950
    responses:
951
      "200":
951
      "200":
952
        description: An authentication provider
952
        description: An identity provider
953
        schema:
953
        schema:
954
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
954
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
955
      "404":
955
      "404":
Lines 975-987 Link Here
975
    operationId: updateIdentityProviderDomain
975
    operationId: updateIdentityProviderDomain
976
    tags:
976
    tags:
977
      - identity_providers
977
      - identity_providers
978
    summary: Update an authentication provider domain
978
    summary: Update an identity provider domain
979
    parameters:
979
    parameters:
980
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
980
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
981
      - $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp
981
      - $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp
982
      - name: body
982
      - name: body
983
        in: body
983
        in: body
984
        description: An authentication provider domain object
984
        description: An identity provider domain object
985
        required: true
985
        required: true
986
        schema:
986
        schema:
987
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
987
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
Lines 989-995 Link Here
989
      - application/json
989
      - application/json
990
    responses:
990
    responses:
991
      "200":
991
      "200":
992
        description: Updated authentication provider domain
992
        description: Updated identity provider domain
993
        schema:
993
        schema:
994
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
994
          $ref: ../swagger.yaml#/definitions/identity_provider_domain
995
      "400":
995
      "400":
Lines 1023-1029 Link Here
1023
    operationId: delIdentityProviderDomain
1023
    operationId: delIdentityProviderDomain
1024
    tags:
1024
    tags:
1025
      - identity_providers
1025
      - identity_providers
1026
    summary: Delete authentication provider
1026
    summary: Delete identity provider
1027
    parameters:
1027
    parameters:
1028
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
1028
      - $ref: ../swagger.yaml#/parameters/identity_provider_id_pp
1029
      - $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp
1029
      - $ref: ../swagger.yaml#/parameters/identity_provider_domain_id_pp
Lines 1031-1037 Link Here
1031
      - application/json
1031
      - application/json
1032
    responses:
1032
    responses:
1033
      "204":
1033
      "204":
1034
        description: Authentication provider deleted
1034
        description: identity provider deleted
1035
      "401":
1035
      "401":
1036
        description: Authentication required
1036
        description: Authentication required
1037
        schema:
1037
        schema:
(-)a/api/v1/swagger/swagger.yaml (-2 / +2 lines)
Lines 420-432 parameters: Link Here
420
    required: false
420
    required: false
421
    type: integer
421
    type: integer
422
  identity_provider_id_pp:
422
  identity_provider_id_pp:
423
    description: Authentication provider internal identifier
423
    description: Identity provider internal identifier
424
    in: path
424
    in: path
425
    name: identity_provider_id
425
    name: identity_provider_id
426
    required: true
426
    required: true
427
    type: integer
427
    type: integer
428
  identity_provider_domain_id_pp:
428
  identity_provider_domain_id_pp:
429
    description: Authentication provider domain internal identifier
429
    description: Identity provider domain internal identifier
430
    in: path
430
    in: path
431
    name: identity_provider_domain_id
431
    name: identity_provider_domain_id
432
    required: true
432
    required: true
(-)a/installer/data/mysql/mandatory/userpermissions.sql (-1 / +1 lines)
Lines 41-47 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
41
   ( 3, 'manage_background_jobs', 'Manage background jobs'),
41
   ( 3, 'manage_background_jobs', 'Manage background jobs'),
42
   ( 3, 'manage_curbside_pickups', 'Manage curbside pickups'),
42
   ( 3, 'manage_curbside_pickups', 'Manage curbside pickups'),
43
   ( 3, 'manage_search_filters', 'Manage custom search filters'),
43
   ( 3, 'manage_search_filters', 'Manage custom search filters'),
44
   ( 3, 'manage_identity_providers', 'Manage authentication providers'),
44
   ( 3, 'manage_identity_providers', 'Manage identity providers'),
45
   ( 4, 'delete_borrowers', 'Delete patrons'),
45
   ( 4, 'delete_borrowers', 'Delete patrons'),
46
   ( 4, 'edit_borrowers', 'Add, modify and view patron information'),
46
   ( 4, 'edit_borrowers', 'Add, modify and view patron information'),
47
   ( 4, 'view_borrower_infos_from_any_libraries', 'View patron infos from any libraries'),
47
   ( 4, 'view_borrower_infos_from_any_libraries', 'View patron infos from any libraries'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc (-1 / +1 lines)
Lines 145-151 Link Here
145
        <h5>Additional parameters</h5>
145
        <h5>Additional parameters</h5>
146
        <ul>
146
        <ul>
147
            [% IF ( CAN_user_parameters_manage_identity_providers) %]
147
            [% IF ( CAN_user_parameters_manage_identity_providers) %]
148
                <li><a href="/cgi-bin/koha/admin/identity_providers.pl">Authentication providers</a></li>
148
                <li><a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a></li>
149
            [% END %]
149
            [% END %]
150
            [% IF ( CAN_user_parameters_manage_search_targets ) %]
150
            [% IF ( CAN_user_parameters_manage_search_targets ) %]
151
                <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
151
                <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-2 / +1 lines)
Lines 851-857 Link Here
851
  [%# identity_providers %]
851
  [%# identity_providers %]
852
    [%- CASE 'manage_identity_providers' -%]
852
    [%- CASE 'manage_identity_providers' -%]
853
        <span class="sub_permission manage_identity_providers_subpermission">
853
        <span class="sub_permission manage_identity_providers_subpermission">
854
            Manage authentication providers
854
            Manage identity providers
855
        </span>
855
        </span>
856
        <span class="permissioncode">([% name | html %])</span>
856
        <span class="permissioncode">([% name | html %])</span>
857
  [%- END -%]
857
  [%- END -%]
858
- 

Return to bug 33859