Guided reports and dictionary access was dependant on the editcatalogue
permission instead of the report permission.
---
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 3e101a7..09104c3 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 5c59a5a..c833466 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,
}
);
--
1.5.5.GIT
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches