From 63575bd21459f4253f3841cf1095bdbd0b438b5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 19 Feb 2014 13:20:32 +0100 Subject: [PATCH] =?utf8?q?Rechtepr=C3=BCfung=20im=20Part-Controller=20nich?= =?utf8?q?t=20f=C3=BCr=20Part-Picker-Aktionen=20durchf=C3=BChren.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Behebt #2451. --- SL/Controller/Part.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/Controller/Part.pm b/SL/Controller/Part.pm index 6b76252cc..4349b1fda 100644 --- a/SL/Controller/Part.pm +++ b/SL/Controller/Part.pm @@ -14,7 +14,8 @@ use Rose::Object::MakeMethods::Generic ( ); # safety -__PACKAGE__->run_before(sub { $::auth->assert('part_service_assembly_edit') }); +__PACKAGE__->run_before(sub { $::auth->assert('part_service_assembly_edit') }, + except => [ qw(ajax_autocomplete part_picker_search part_picker_result) ]); sub action_ajax_autocomplete { my ($self, %params) = @_; -- 2.20.1