summaryrefslogtreecommitdiff
path: root/httemplate/browse
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/browse')
-rw-r--r--httemplate/browse/hardware_class.html2
-rw-r--r--httemplate/browse/hardware_status.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/browse/hardware_class.html b/httemplate/browse/hardware_class.html
index 0bf314e..6423f4a 100644
--- a/httemplate/browse/hardware_class.html
+++ b/httemplate/browse/hardware_class.html
@@ -22,7 +22,7 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('Configuration');
+ unless $curuser->access_right('Edit hardware classes and types');
my $menubar =
[ 'Hardware statuses' => $p.'browse/hardware_status.html',
diff --git a/httemplate/browse/hardware_status.html b/httemplate/browse/hardware_status.html
index 89ae830..64ad5ad 100644
--- a/httemplate/browse/hardware_status.html
+++ b/httemplate/browse/hardware_status.html
@@ -16,7 +16,7 @@
my $curuser = $FS::CurrentUser::CurrentUser;
die "access denied"
- unless $curuser->access_right('Configuration');
+ unless $curuser->access_right('Edit hardware classes and types');
my $menubar = [ 'Hardware classes' => $p.'browse/hardware_class.html',
'Add a status' => $p.'edit/hardware_status.html' ];