programs/vacuser.php 1 location
|
@@ 3072-3076 (lines=5) @@
|
| 3069 |
|
$idx = bab_rp('idx', "lvreq"); |
| 3070 |
|
|
| 3071 |
|
|
| 3072 |
|
if(!$agent->isInPersonnel() && !$agent->isEntityManager() && !$agent->isManager()) |
| 3073 |
|
{ |
| 3074 |
|
$babBody->msgerror = absences_translate("Access denied"); |
| 3075 |
|
return; |
| 3076 |
|
} |
| 3077 |
|
|
| 3078 |
|
|
| 3079 |
|
|
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); |