Browse Source

Bug 27947: (QA follow-up) Remove incorrect permission check

The API was checking for 'reserverforothers' permission, but that
doesn't make sense to apply here.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.11.x
Martin Renvoize 8 months ago
committed by Jonathan Druart
parent
commit
b3bc8c21b2
  1. 3
      api/v1/swagger/paths/article_requests.yaml

3
api/v1/swagger/paths/article_requests.yaml

@ -51,9 +51,6 @@
description: Under maintenance
schema:
$ref: ../definitions.json#/error
x-koha-authorization:
permissions:
reserveforothers: "1"
"/public/patrons/{patron_id}/article_requests/{article_request_id}":
delete:
x-mojo-to: ArticleRequests#patron_cancel

Loading…
Cancel
Save