|
@@ -348,7 +348,7 @@ $ILOSC_PROCES = 0;
|
|
|
|
|
|
|
|
$dateFltrTypes = $przypomnij->getDateFltrTypes();
|
|
$dateFltrTypes = $przypomnij->getDateFltrTypes();
|
|
|
$getLdapGroupsNames=User::getLdapGroupsNames();
|
|
$getLdapGroupsNames=User::getLdapGroupsNames();
|
|
|
-DEBUG_S(-3,'$getLdapGroupsNames',array($getLdapGroupsNames,$tasks,$sqlAllowedUsersList),__FILE__,__FUNCTION__,__LINE__);
|
|
|
|
|
|
|
+//DEBUG_S(-3,'$getLdapGroupsNames',array($getLdapGroupsNames,$tasks,$sqlAllowedUsersList),__FILE__,__FUNCTION__,__LINE__);
|
|
|
?>
|
|
?>
|
|
|
<table class="tbl-przypomnij table table-bordered table-hover fltr-hide_PO_7_DNIACH fltr-hide_BRAK">
|
|
<table class="tbl-przypomnij table table-bordered table-hover fltr-hide_PO_7_DNIACH fltr-hide_BRAK">
|
|
|
<thead>
|
|
<thead>
|
|
@@ -363,8 +363,12 @@ DEBUG_S(-3,'$getLdapGroupsNames',array($getLdapGroupsNames,$tasks,$sqlAllowedUse
|
|
|
<tbody>
|
|
<tbody>
|
|
|
<?php foreach ($tasks as $id => $task) : ?>
|
|
<?php foreach ($tasks as $id => $task) : ?>
|
|
|
<?php
|
|
<?php
|
|
|
-
|
|
|
|
|
- if(!(in_array($task->A_CLASSIFIED, $getLdapGroupsNames)) and $task->A_CLASSIFIED!='' ) continue;
|
|
|
|
|
|
|
+ //@2015-05-17 - ograniczenie widzenia listy przypomnij dla obcych uzystkownikow,
|
|
|
|
|
+ //ktorzy nie maja uprawnien oraz nie widza uzytkownikow, ktorzy odpowiadaja za dane zagadnienia
|
|
|
|
|
+ if(
|
|
|
|
|
+ !(in_array($task->A_CLASSIFIED, $getLdapGroupsNames)) and $task->A_CLASSIFIED!='' and
|
|
|
|
|
+ !(in_array($task->A_ADM_COMPANY, $getLdapGroupsNames)) and $task->A_ADM_COMPANY!='' and
|
|
|
|
|
+ !($sqlAllowedUsersList[$task->_l_app]) ) continue;
|
|
|
|
|
|
|
|
if (!$task->_show) continue;
|
|
if (!$task->_show) continue;
|
|
|
|
|
|