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

(-)a/api/v1/swagger/paths/biblios.yaml (-2 / +2 lines)
Lines 603-609 Link Here
603
          $ref: "../swagger.yaml#/definitions/error"
603
          $ref: "../swagger.yaml#/definitions/error"
604
    x-koha-authorization:
604
    x-koha-authorization:
605
      permissions:
605
      permissions:
606
        editcatalogue: edit_catalogue
606
        editcatalogue: edit_items
607
"/biblios/{biblio_id}/items/{item_id}":
607
"/biblios/{biblio_id}/items/{item_id}":
608
  put:
608
  put:
609
    x-mojo-to: Biblios#update_item
609
    x-mojo-to: Biblios#update_item
Lines 660-666 Link Here
660
          $ref: "../swagger.yaml#/definitions/error"
660
          $ref: "../swagger.yaml#/definitions/error"
661
    x-koha-authorization:
661
    x-koha-authorization:
662
      permissions:
662
      permissions:
663
        editcatalogue: edit_catalogue
663
        editcatalogue: edit_items
664
"/biblios/{biblio_id}/pickup_locations":
664
"/biblios/{biblio_id}/pickup_locations":
665
  get:
665
  get:
666
    x-mojo-to: Biblios#pickup_locations
666
    x-mojo-to: Biblios#pickup_locations
(-)a/t/db_dependent/api/v1/biblios.t (-3 / +2 lines)
Lines 1910-1916 subtest 'add_item() tests' => sub { Link Here
1910
            value  => {
1910
            value  => {
1911
                borrowernumber => $patron->borrowernumber,
1911
                borrowernumber => $patron->borrowernumber,
1912
                module_bit     => 9,
1912
                module_bit     => 9,
1913
                code           => 'edit_catalogue'
1913
                code           => 'edit_items'
1914
            }
1914
            }
1915
        }
1915
        }
1916
    );
1916
    );
Lines 1973-1979 subtest 'update_item() tests' => sub { Link Here
1973
            value  => {
1973
            value  => {
1974
                borrowernumber => $patron->borrowernumber,
1974
                borrowernumber => $patron->borrowernumber,
1975
                module_bit     => 9,
1975
                module_bit     => 9,
1976
                code           => 'edit_catalogue'
1976
                code           => 'edit_items'
1977
            }
1977
            }
1978
        }
1978
        }
1979
    );
1979
    );
1980
- 

Return to bug 38905