Revision 2f6e2e40
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
SL/Controller/PaymentTerm.pm | ||
---|---|---|
13 | 13 |
scalar => [ qw(payment_term languages) ], |
14 | 14 |
); |
15 | 15 |
|
16 |
__PACKAGE__->run_before('check_auth'); |
|
16 | 17 |
__PACKAGE__->run_before('load_payment_term', only => [ qw( edit update destroy move_up move_down) ]); |
17 | 18 |
__PACKAGE__->run_before('load_languages', only => [ qw(new list edit create update) ]); |
18 | 19 |
|
... | ... | |
77 | 78 |
$self->render(type => 'js', inline => '1;'); |
78 | 79 |
} |
79 | 80 |
|
81 |
# |
|
82 |
# filters |
|
83 |
# |
|
84 |
|
|
85 |
sub check_auth { |
|
86 |
$::auth->assert('config'); |
|
87 |
} |
|
88 |
|
|
80 | 89 |
# |
81 | 90 |
# helpers |
82 | 91 |
# |
Auch abrufbar als: Unified diff
Rechteprüfung bei Zugriff auf Zahlungsbedingungen-Controller
Conflicts: