@@ -, +, @@ $ kshell k$ prove t/db_dependent/Koha/REST/Plugin/PluginRoutes.t - Anonymous access - Real user with wrong permissions (parameters => 1) - Real user with right permissions (borrowers => 1) --- Koha/REST/V1/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/REST/V1/Auth.pm +++ a/Koha/REST/V1/Auth.pm @@ -255,7 +255,7 @@ sub authenticate_api_request { if ( !$authorization and ( $params->{is_public} and ( C4::Context->preference('RESTPublicAnonymousRequests') or - $user) ) or $params->{is_plugin} ) { + $user) or $params->{is_plugin} ) ) { # We do not need any authorization # Check the parameters validate_query_parameters( $c, $spec ); --