programs/planning.php 1 location
|
@@ 1029-1033 (lines=5) @@
|
1026 |
|
bab_requireCredential(); |
1027 |
|
$agent = absences_Agent::getCurrentUser(); |
1028 |
|
|
1029 |
|
if(!$agent->isInPersonnel() && !$agent->isEntityManager() && !$agent->isManager() && !$agent->isApprover()) |
1030 |
|
{ |
1031 |
|
$babBody->msgerror = absences_translate("Access denied to planning"); |
1032 |
|
return; |
1033 |
|
} |
1034 |
|
|
1035 |
|
$users = explode(',',bab_rp('idu')); |
1036 |
|
absences_userViewVacationCalendar($users); |
programs/vacuser.php 1 location
|
@@ 3172-3176 (lines=5) @@
|
3169 |
|
$idx = bab_rp('idx', "lvreq"); |
3170 |
|
|
3171 |
|
|
3172 |
|
if(!$agent->isInPersonnel() && !$agent->isEntityManager() && !$agent->isManager()) |
3173 |
|
{ |
3174 |
|
$babBody->msgerror = absences_translate("Access denied"); |
3175 |
|
return; |
3176 |
|
} |
3177 |
|
|
3178 |
|
|
3179 |
|
|