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