X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Finventory_class.html;h=ddde55799c810287beebca0d7e79fb9331ec4b61;hp=beefcd58067060cc7a0a5530a267e1136833885e;hb=c49cfd25a8f92c7a2f44b51d72506a21f6b8d09f;hpb=c8cccb4a92adceb943c635fe62dad0d034462ce0 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'); + +