Import Permissons Cases notes with groups SOLVED
Import Permissons Cases notes with groups
This commit is contained in:
@@ -2070,7 +2070,7 @@ class Processes
|
||||
* @param string $sProUid
|
||||
* @return $aDynaform array
|
||||
*/
|
||||
public function getObjectPermissionRows ($sProUid)
|
||||
public function getObjectPermissionRows ($sProUid, &$oData)
|
||||
{
|
||||
// by erik
|
||||
try {
|
||||
@@ -2084,6 +2084,9 @@ class Processes
|
||||
while ($aRow = $oDataset->getRow()) {
|
||||
$o = new ObjectPermission();
|
||||
$oPermissions[] = $o->Load( $aRow['OP_UID'] );
|
||||
|
||||
$oGroupwf = new Groupwf();
|
||||
$oData->groupwfs[] = $oGroupwf->Load( $aRow['USR_UID'] );
|
||||
$oDataset->next();
|
||||
}
|
||||
return $oPermissions;
|
||||
@@ -2570,7 +2573,7 @@ class Processes
|
||||
$oData->reportTables = $this->getReportTablesRows( $sProUid );
|
||||
$oData->reportTablesVars = $this->getReportTablesVarsRows( $sProUid );
|
||||
$oData->stepSupervisor = $this->getStepSupervisorRows( $sProUid );
|
||||
$oData->objectPermissions = $this->getObjectPermissionRows( $sProUid );
|
||||
$oData->objectPermissions = $this->getObjectPermissionRows( $sProUid, $oData);
|
||||
$oData->subProcess = $this->getSubProcessRow( $sProUid );
|
||||
$oData->caseTracker = $this->getCaseTrackerRow( $sProUid );
|
||||
$oData->caseTrackerObject = $this->getCaseTrackerObjectRow( $sProUid );
|
||||
|
||||
Reference in New Issue
Block a user