BUG 6947 I add validation to delete inputs with permission

I add validation to delete inputs with	permission
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-10-10 11:30:32 -04:00
parent 366d7fad1c
commit 1c110c8598
3 changed files with 12 additions and 36 deletions

View File

@@ -274,13 +274,6 @@
$oPluginRegistry->executeTriggers ( PM_UPLOAD_DOCUMENT_BEFORE , array('USR_UID'=>$_SESSION['USER_LOGGED']) );
}
//END: If there is a Break Step registered from Plugin
$deletePermission = $oCase->getAllObjectsFrom($_SESSION['PROCESS'],
$_SESSION['APPLICATION'],
$_SESSION['TASK'],
$_SESSION['USER_LOGGED'],
$ACTION = 'DELETE');
$permissionsInput = implode(',',$deletePermission['INPUT_DOCUMENTS']);
$Fields['permissionsInput'] = $permissionsInput;
$G_PUBLISH->AddContent('propeltable', 'cases/paged-table-inputDocuments', 'cases/cases_InputdocsList', $oCase->getInputDocumentsCriteria($_SESSION['APPLICATION'], $_SESSION['INDEX'], $_GET['UID']), array_merge(array('DOC_UID'=>$_GET['UID']),$Fields));//$aFields
//call plugin