summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2020-11-09 13:36:41 -0800
committerIvan Kohler <ivan@freeside.biz>2020-11-09 13:36:41 -0800
commit20f03d52cc6c930f610c0b4466eeeeda54fdbb40 (patch)
tree899d739f54ab6d04ac455d28f2d8b01a29a31a80 /httemplate/edit
parent4d4171d7ad39732b07839d90e1d74b9f84772d45 (diff)
ACL for hardware class config, RT#85057
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/hardware_class.html2
-rw-r--r--httemplate/edit/hardware_status.html2
-rw-r--r--httemplate/edit/process/hardware_class.html2
-rw-r--r--httemplate/edit/process/hardware_status.html2
-rw-r--r--httemplate/edit/process/hardware_type.html2
5 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/edit/hardware_class.html b/httemplate/edit/hardware_class.html
index 26f487dda..8d5412bd2 100644
--- a/httemplate/edit/hardware_class.html
+++ b/httemplate/edit/hardware_class.html
@@ -11,6 +11,6 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Edit hardware classes and types');
</%init>
diff --git a/httemplate/edit/hardware_status.html b/httemplate/edit/hardware_status.html
index 23e5b6eba..c8cb68cd4 100644
--- a/httemplate/edit/hardware_status.html
+++ b/httemplate/edit/hardware_status.html
@@ -19,6 +19,6 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Edit hardware classes and types');
</%init>
diff --git a/httemplate/edit/process/hardware_class.html b/httemplate/edit/process/hardware_class.html
index 64bc72efe..54e2af694 100644
--- a/httemplate/edit/process/hardware_class.html
+++ b/httemplate/edit/process/hardware_class.html
@@ -6,6 +6,6 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Edit hardware classes and types');
</%init>
diff --git a/httemplate/edit/process/hardware_status.html b/httemplate/edit/process/hardware_status.html
index 61f02e215..d790eb5ba 100644
--- a/httemplate/edit/process/hardware_status.html
+++ b/httemplate/edit/process/hardware_status.html
@@ -6,6 +6,6 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Edit hardware classes and types');
</%init>
diff --git a/httemplate/edit/process/hardware_type.html b/httemplate/edit/process/hardware_type.html
index 52787011c..954e76d03 100644
--- a/httemplate/edit/process/hardware_type.html
+++ b/httemplate/edit/process/hardware_type.html
@@ -6,6 +6,6 @@
<%init>
die "access denied"
- unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+ unless $FS::CurrentUser::CurrentUser->access_right('Edit hardware classes and types');
</%init>