Revision 965b16ba
Von Philip Reetz vor mehr als 15 Jahren hinzugefügt
bin/mozilla/wh.pl | ||
---|---|---|
691 | 691 |
sub report { |
692 | 692 |
$lxdebug->enter_sub(); |
693 | 693 |
|
694 |
$auth->assert('warehouse_content | warehouse_management'); |
|
694 |
$auth->assert('warehouse_contents | warehouse_management');
|
|
695 | 695 |
|
696 | 696 |
$form->get_lists('warehouses' => { 'key' => 'WAREHOUSES', |
697 | 697 |
'bins' => 'BINS', }); |
... | ... | |
714 | 714 |
sub generate_report { |
715 | 715 |
$lxdebug->enter_sub(); |
716 | 716 |
|
717 |
$auth->assert('warehouse_content | warehouse_management'); |
|
717 |
$auth->assert('warehouse_contents | warehouse_management');
|
|
718 | 718 |
|
719 | 719 |
$form->{title} = $locale->text("Report about wareouse contents"); |
720 | 720 |
$form->{sort} ||= 'partnumber'; |
menu.ini | ||
---|---|---|
255 | 255 |
submenu=1 |
256 | 256 |
|
257 | 257 |
[Warehouse--Reports--Warehouse content] |
258 |
ACCESS=warehouse_content | warehouse_management |
|
258 |
ACCESS=warehouse_contents | warehouse_management
|
|
259 | 259 |
module=wh.pl |
260 | 260 |
action=report |
261 | 261 |
|
Auch abrufbar als: Unified diff
Falsche Access Werte, hatten zur Folge, dass Gruppen mit nur Lesezugang zum Lager gar nichts sahen