From d63ca62f87641876e39731fd17e7a90e30e3f81f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 6 May 2016 15:55:31 +0100 Subject: [PATCH] Bug 16459: Add patron to a patron card requires catalogue permission MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Currently, serials => 'routing' is required, which does not make any sense. It's a copy/paste error when this file has been created (you can blame me). Note that I am not sure catalogue is the correct permission, but it's the one used almost everywhere in this module Test plan: Confirm that catalogue is enough to search for patrons to add to a patron card. Signed-off-by: Srdjan Signed-off-by: Kyle M Hall Signed-off-by: Kyle M Hall (cherry picked from commit 3bb51d038639c7b197022a2c7c6ae864c834060f) Signed-off-by: Frédéric Demians (cherry picked from commit 7c68f51d13499992c634775d5407ced89cc69a5b) Signed-off-by: Julian Maurice --- patroncards/add_user_search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patroncards/add_user_search.pl b/patroncards/add_user_search.pl index 9bc36859f9..3d9f7af19d 100755 --- a/patroncards/add_user_search.pl +++ b/patroncards/add_user_search.pl @@ -35,7 +35,7 @@ my ( $template, $loggedinuser, $cookie, $staff_flags ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { serials => 'routing' }, + flagsrequired => { catalogue => 1 }, } ); -- 2.39.5