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
|
@@ 3092-3096 (lines=5) @@
|
| 3089 |
|
$idx = bab_rp('idx', "lvreq"); |
| 3090 |
|
|
| 3091 |
|
|
| 3092 |
|
if(!$agent->isInPersonnel() && !$agent->isEntityManager() && !$agent->isManager()) |
| 3093 |
|
{ |
| 3094 |
|
$babBody->msgerror = absences_translate("Access denied"); |
| 3095 |
|
return; |
| 3096 |
|
} |
| 3097 |
|
|
| 3098 |
|
|
| 3099 |
|
|