Falsche Access Werte, hatten zur Folge, dass Gruppen mit nur Lesezugang zum Lager...
authorPhilip Reetz <p.reetz@linet-services.de>
Thu, 9 Apr 2009 12:22:41 +0000 (12:22 +0000)
committerPhilip Reetz <p.reetz@linet-services.de>
Thu, 9 Apr 2009 12:22:41 +0000 (12:22 +0000)
bin/mozilla/wh.pl
menu.ini

index 4c969a2..1ec6449 100644 (file)
@@ -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';
index ede1f83..9e045ab 100644 (file)
--- 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