Revert "Das Recht "Lagerverwaltung/Bestandsveränderung" zum Part-Controller hinzugefügt."
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 19 Feb 2014 12:17:05 +0000 (13:17 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Wed, 19 Feb 2014 12:17:05 +0000 (13:17 +0100)
This reverts commit 91aa159378605af7676d25ed070532fa6c5eee3c.

SL/Controller/Part.pm

index ce9074f..6b76252 100644 (file)
@@ -14,7 +14,7 @@ use Rose::Object::MakeMethods::Generic (
 );
 
 # safety
-__PACKAGE__->run_before(sub { $::auth->assert('part_service_assembly_edit | warehouse_management') });
+__PACKAGE__->run_before(sub { $::auth->assert('part_service_assembly_edit') });
 
 sub action_ajax_autocomplete {
   my ($self, %params) = @_;