"x-koha-authorization": {
"allow-owner": true,
"permissions": {
"borrowers": "1"
"borrowers": "edit_borrowers"
}
my $user = $c->stash('koha.user');
my $patrons = Koha::Patrons->search;
# FIXME The limited does not work here, the userenv is not set
my $patrons = Koha::Patrons->search_limited;
$c->$cb($patrons, 200);
"allow-guarantor": true,
},
-