From: Philip Reetz Date: Thu, 9 Apr 2009 12:22:41 +0000 (+0000) Subject: Falsche Access Werte, hatten zur Folge, dass Gruppen mit nur Lesezugang zum Lager... X-Git-Tag: release-2.6.0beta2~111 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=965b16ba88312c12f80985f0a1dace8f28551dac;p=kivitendo-erp.git Falsche Access Werte, hatten zur Folge, dass Gruppen mit nur Lesezugang zum Lager gar nichts sahen --- diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index 4c969a20e..1ec64494b 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -691,7 +691,7 @@ sub generate_journal { sub report { $lxdebug->enter_sub(); - $auth->assert('warehouse_content | warehouse_management'); + $auth->assert('warehouse_contents | warehouse_management'); $form->get_lists('warehouses' => { 'key' => 'WAREHOUSES', 'bins' => 'BINS', }); @@ -714,7 +714,7 @@ sub report { sub generate_report { $lxdebug->enter_sub(); - $auth->assert('warehouse_content | warehouse_management'); + $auth->assert('warehouse_contents | warehouse_management'); $form->{title} = $locale->text("Report about wareouse contents"); $form->{sort} ||= 'partnumber'; diff --git a/menu.ini b/menu.ini index ede1f8397..9e045abca 100644 --- a/menu.ini +++ b/menu.ini @@ -255,7 +255,7 @@ target=acc_menu submenu=1 [Warehouse--Reports--Warehouse content] -ACCESS=warehouse_content | warehouse_management +ACCESS=warehouse_contents | warehouse_management module=wh.pl action=report