X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Finventory_class.html;h=ddde55799c810287beebca0d7e79fb9331ec4b61;hb=9e878943532b9ecb84bac1db76c05cf9bc09d2cc;hp=beefcd58067060cc7a0a5530a267e1136833885e;hpb=9509e5bfb7f9331303153cac24d7bfecbe2ea9f1;p=freeside.git diff --git a/httemplate/edit/inventory_class.html b/httemplate/edit/inventory_class.html index beefcd580..ddde55799 100644 --- a/httemplate/edit/inventory_class.html +++ b/httemplate/edit/inventory_class.html @@ -1,5 +1,5 @@ <% include( 'elements/edit.html', - 'name' => 'Inventory Class', + 'name_singular' => 'Inventory Class', 'table' => 'inventory_class', 'labels' => { 'classnum' => 'Class number', @@ -8,3 +8,9 @@ 'viewall_dir' => 'browse', ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Configuration'); + +