From 965b16ba88312c12f80985f0a1dace8f28551dac Mon Sep 17 00:00:00 2001 From: Philip Reetz Date: Thu, 9 Apr 2009 12:22:41 +0000 Subject: [PATCH] Falsche Access Werte, hatten zur Folge, dass Gruppen mit nur Lesezugang zum Lager gar nichts sahen --- bin/mozilla/wh.pl | 4 ++-- menu.ini | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.20.1