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

(-)a/api/v1/swagger/paths/rotas.json (-1 / +1 lines)
Lines 71-77 Link Here
71
            },
71
            },
72
            "x-koha-authorization": {
72
            "x-koha-authorization": {
73
                "permissions": {
73
                "permissions": {
74
                    "borrowers": "1"
74
                    "stockrotation": "1"
75
                }
75
                }
76
            }
76
            }
77
        }
77
        }
(-)a/t/db_dependent/api/v1/stockrotationstage.t (-2 / +1 lines)
Lines 139-145 subtest 'move() tests' => sub { Link Here
139
sub create_user_and_session {
139
sub create_user_and_session {
140
140
141
    my $args  = shift;
141
    my $args  = shift;
142
    my $flags = ( $args->{authorized} ) ? $args->{authorized} : 0;
142
    my $flags = ( $args->{authorized} ) ? 2 ** 24 : 0; # stockrotation == 24
143
    my $dbh   = C4::Context->dbh;
143
    my $dbh   = C4::Context->dbh;
144
144
145
    my $user = $builder->build(
145
    my $user = $builder->build(
146
- 

Return to bug 11897