summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2017-08-25 15:04:54 -0700
committerIvan Kohler <ivan@freeside.biz>2017-08-25 15:04:54 -0700
commit33b9c827617bb2cd71772dfd32a1ac3902532c36 (patch)
treec9af59cb7c7156aa2d0a28fa1def48c7684b53a8 /httemplate/search
parent803963e6151554f6087e2e1bc58f43ec8097e5a1 (diff)
force employee logouts, employee session reports, RT#74953
Diffstat (limited to 'httemplate/search')
-rw-r--r--httemplate/search/employee_audit.html2
-rw-r--r--httemplate/search/report_access_user_log.html2
-rw-r--r--httemplate/search/report_employee_audit.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/search/employee_audit.html b/httemplate/search/employee_audit.html
index 2bc6ff46e..991758c4a 100644
--- a/httemplate/search/employee_audit.html
+++ b/httemplate/search/employee_audit.html
@@ -7,7 +7,7 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Employees: Audit Report');
+ unless $FS::CurrentUser::CurrentUser->access_right('Employee Reports');
my %tables = (
cust_pay => 'Payments',
diff --git a/httemplate/search/report_access_user_log.html b/httemplate/search/report_access_user_log.html
index 0c8acb35e..d43c74274 100644
--- a/httemplate/search/report_access_user_log.html
+++ b/httemplate/search/report_access_user_log.html
@@ -27,7 +27,7 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Employee Reports');
my $group_by = '';
if ( $cgi->param('group_by') =~ /^(\w+)$/ ) {
diff --git a/httemplate/search/report_employee_audit.html b/httemplate/search/report_employee_audit.html
index 461849b76..6008e1caa 100644
--- a/httemplate/search/report_employee_audit.html
+++ b/httemplate/search/report_employee_audit.html
@@ -23,7 +23,7 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Employees: Audit Report');
+ unless $FS::CurrentUser::CurrentUser->access_right('Employee Reports');
my %tables = (
cust_pay => 'Payments',