summaryrefslogtreecommitdiff
path: root/httemplate/edit/inventory_class.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/inventory_class.html')
-rw-r--r--httemplate/edit/inventory_class.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/inventory_class.html b/httemplate/edit/inventory_class.html
index beefcd580..3ab47fe28 100644
--- a/httemplate/edit/inventory_class.html
+++ b/httemplate/edit/inventory_class.html
@@ -8,3 +8,9 @@
'viewall_dir' => 'browse',
)
%>
+<%init>
+
+die "access denied"
+ unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
+
+</%init>