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
|
@@ 3128-3132 (lines=5) @@
|
| 3125 |
|
$idx = bab_rp('idx', "lvreq"); |
| 3126 |
|
|
| 3127 |
|
|
| 3128 |
|
if(!$agent->isInPersonnel() && !$agent->isEntityManager() && !$agent->isManager()) |
| 3129 |
|
{ |
| 3130 |
|
$babBody->msgerror = absences_translate("Access denied"); |
| 3131 |
|
return; |
| 3132 |
|
} |
| 3133 |
|
|
| 3134 |
|
|
| 3135 |
|
|