Revision 3acdb292
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/Controller/TimeRecording.pm | ||
---|---|---|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
# safety |
26 |
#__PACKAGE__->run_before('check_auth');
|
|
26 |
__PACKAGE__->run_before('check_auth'); |
|
27 | 27 |
|
28 | 28 |
# |
29 | 29 |
# actions |
... | ... | |
138 | 138 |
SL::DB::Manager::Employee->get_all_sorted; |
139 | 139 |
} |
140 | 140 |
|
141 |
sub check_auth { |
|
142 |
$::auth->assert('time_recording'); |
|
143 |
} |
|
144 |
|
|
141 | 145 |
sub prepare_report { |
142 | 146 |
my ($self) = @_; |
143 | 147 |
|
Auch abrufbar als: Unified diff
Zeiterfassung: Ein Recht dafür