projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75dc619
)
Rechteprüfung im Part-Controller nicht für Part-Picker-Aktionen durchführen.
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 19 Feb 2014 12:20:32 +0000
(13:20 +0100)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 19 Feb 2014 12:20:32 +0000
(13:20 +0100)
Behebt #2451.
SL/Controller/Part.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Part.pm
b/SL/Controller/Part.pm
index
6b76252
..
4349b1f
100644
(file)
--- 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) = @_;