X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Finventory_class.html;h=3ab47fe28d5c15c8133a0a21aa88ce51f76e22bd;hp=8c5ae4770f2a7aa2cec19ddb221877e3d35ecf83;hb=37591b61f8ad6fc5c5acb2fd8f520d2dbe4f1539;hpb=1a033848671cad2cbe7687b37fc718b3b2a68b83 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'); + +