From b3342b0f6e02607dff66eac7657b79c71090364e Mon Sep 17 00:00:00 2001 From: Fridolyn SOMERS Date: Tue, 13 Aug 2013 15:24:06 +0200 Subject: [PATCH 3/5] Bug 10718 - items with no checkouts report permission is execute_reports This report only executes SQL to change reports/catalogue_out.pl permissions from all reports subpermissions to reports/execute_reports. Test plan : Test you can access and run this report with only execute_reports subpermission into reports permission. --- reports/catalogue_out.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/catalogue_out.pl b/reports/catalogue_out.pl index 5811453..9e10cac 100755 --- a/reports/catalogue_out.pl +++ b/reports/catalogue_out.pl @@ -47,7 +47,7 @@ my ($template, $borrowernumber, $cookie) = get_template_and_user({ query => $input, type => "intranet", authnotrequired => 0, - flagsrequired => {reports => '*'}, + flagsrequired => {reports => 'execute_reports'}, debug => 1, }); -- 1.7.10.4