From a08a9f196e7e0c7fcb257826e97234430884ed86 Mon Sep 17 00:00:00 2001 From: Allen Reinmeyer Date: Wed, 5 Nov 2008 14:14:40 -0600 Subject: [PATCH] Bug #2760 wrong permissions for guided reports Guided reports and dictionary access was dependant on the editcatalogue permission instead of the report permission. Signed-off-by: Galen Charlton --- reports/dictionary.pl | 2 +- reports/guided_reports.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reports/dictionary.pl b/reports/dictionary.pl index 3e101a7b08..09104c3ed5 100755 --- a/reports/dictionary.pl +++ b/reports/dictionary.pl @@ -46,7 +46,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { editcatalogue => 1 }, + flagsrequired => { reports => 1 }, debug => 1, } ); diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl index 5c59a5a121..c8334661f6 100755 --- a/reports/guided_reports.pl +++ b/reports/guided_reports.pl @@ -45,7 +45,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => { editcatalogue => 1 }, + flagsrequired => { reports => 1 }, debug => 1, } ); -- 2.39.5