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:
d56c9b0
)
Recht prinzipiell setzen
author
Jan Büren
<jan@kivitendo-premium.de>
Fri, 2 Oct 2015 15:31:28 +0000
(17:31 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Fri, 2 Oct 2015 15:31:28 +0000
(17:31 +0200)
Nicht nur auf den Menüaufruf verlassen, sondern den gesamten
Controller vor Ausführung auf das Recht delivery_value_report prüfen.
SL/Controller/DeliveryValueReport.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/DeliveryValueReport.pm
b/SL/Controller/DeliveryValueReport.pm
index
3134f75
..
e41a2ad
100644
(file)
--- a/
SL/Controller/DeliveryValueReport.pm
+++ b/
SL/Controller/DeliveryValueReport.pm
@@
-19,7
+19,7
@@
use Rose::Object::MakeMethods::Generic (
'scalar --get_set_init' => [ qw(models vc all_employees all_businesses) ],
);
-
+__PACKAGE__->run_before(sub { $::auth->assert('delivery_value_report'); });
my %sort_columns = (
reqdate => t8('Reqdate'),