]> git.koha-community.org Git - koha.git/commit
Bug 16497: (follow-up) GET operations require staff access
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 18 Jan 2019 15:02:38 +0000 (12:02 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 25 Feb 2019 19:01:50 +0000 (19:01 +0000)
commitfc990c940edc74c2b1ae1917070d46727389e1b1
treeb136394b8f8f0b02e95388669c67ce3c6933e7c3
parenta133230dacb5ebadd491d0c91d68a2b6d9365cb4
Bug 16497: (follow-up) GET operations require staff access

With the introduction of the /public namespace all other endpoints, the
rest of the endpoints are restricted to privileged users.

This patch makes the GET /libraries and GET /libraries/:library_id
endpoints require 'catalogue' permissions.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 562eaa154b9efa20431133db04823c4d36be742d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
api/v1/swagger/paths/libraries.json
t/db_dependent/api/v1/libraries.t