@@ -, +, @@ --- api/v1/swagger/paths/rotas.json | 2 +- t/db_dependent/api/v1/stockrotationstage.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/api/v1/swagger/paths/rotas.json +++ a/api/v1/swagger/paths/rotas.json @@ -71,7 +71,7 @@ }, "x-koha-authorization": { "permissions": { - "borrowers": "1" + "stockrotation": "1" } } } --- a/t/db_dependent/api/v1/stockrotationstage.t +++ a/t/db_dependent/api/v1/stockrotationstage.t @@ -139,7 +139,7 @@ subtest 'move() tests' => sub { sub create_user_and_session { my $args = shift; - my $flags = ( $args->{authorized} ) ? $args->{authorized} : 0; + my $flags = ( $args->{authorized} ) ? 2 ** 24 : 0; # stockrotation == 24 my $dbh = C4::Context->dbh; my $user = $builder->build( --