]> git.koha-community.org Git - koha.git/commit
Bug 11897: Use 'stockrotation' permission for the endpoint
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 4 Oct 2018 17:24:16 +0000 (14:24 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 9 Oct 2018 15:46:06 +0000 (15:46 +0000)
commita9248f237d9de916e504d59e6490c7f84e9eb763
tree9aa29882c13506e1a6bb5e94688529ec9cb54564
parentb8d425ac35eca05a5a3217b1678dfccc25aa3c26
Bug 11897: Use 'stockrotation' permission for the endpoint

This patch makes the tests for 'authorized' session use the
'stockrotation' permission instead of 'superlibrarian'.

The path x-koha-permission is fixed accordingly.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
api/v1/swagger/paths/rotas.json
t/db_dependent/api/v1/stockrotationstage.t