X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Finventory_class.html;h=3ab47fe28d5c15c8133a0a21aa88ce51f76e22bd;hb=e0a26680d75fc2000bde195eba7946805a3aaa28;hp=8c5ae4770f2a7aa2cec19ddb221877e3d35ecf83;hpb=1a033848671cad2cbe7687b37fc718b3b2a68b83;p=freeside.git diff --git a/httemplate/edit/inventory_class.html b/httemplate/edit/inventory_class.html index 8c5ae4770..3ab47fe28 100644 --- a/httemplate/edit/inventory_class.html +++ b/httemplate/edit/inventory_class.html @@ -1,4 +1,4 @@ -<%= include( 'elements/edit.html', +<% include( 'elements/edit.html', 'name' => 'Inventory Class', 'table' => 'inventory_class', 'labels' => { @@ -8,3 +8,9 @@ 'viewall_dir' => 'browse', ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +