CS
This commit is contained in:
@@ -164,8 +164,8 @@ if ($actionAjax == "processListExtJs") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($action==='to_reassign') {
|
if ($action==='to_reassign') {
|
||||||
if($RBAC->userCanAccess('PM_REASSIGNCASE') == 1) {
|
if ($RBAC->userCanAccess('PM_REASSIGNCASE') == 1) {
|
||||||
} elseif($RBAC->userCanAccess('PM_REASSIGNCASE_SUPERVISOR') == 1) {
|
} elseif ($RBAC->userCanAccess('PM_REASSIGNCASE_SUPERVISOR') == 1) {
|
||||||
$oAppCache = new AppCacheView();
|
$oAppCache = new AppCacheView();
|
||||||
$aProcesses = $oAppCache->getProUidSupervisor($_SESSION['USER_LOGGED']);
|
$aProcesses = $oAppCache->getProUidSupervisor($_SESSION['USER_LOGGED']);
|
||||||
$cProcess->add(ProcessPeer::PRO_UID, $aProcesses, Criteria::IN);
|
$cProcess->add(ProcessPeer::PRO_UID, $aProcesses, Criteria::IN);
|
||||||
@@ -198,7 +198,7 @@ if ($actionAjax == "verifySession") {
|
|||||||
$response = new stdclass();
|
$response = new stdclass();
|
||||||
GLOBAL $RBAC;
|
GLOBAL $RBAC;
|
||||||
//Check if the user is a supervisor to this Process
|
//Check if the user is a supervisor to this Process
|
||||||
if($RBAC->userCanAccess('PM_REASSIGNCASE') == 1){
|
if ($RBAC->userCanAccess('PM_REASSIGNCASE') == 1) {
|
||||||
$response->reassigncase = true;
|
$response->reassigncase = true;
|
||||||
$response->message = '';
|
$response->message = '';
|
||||||
$response->processeslist = '';
|
$response->processeslist = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user