Skip to content
Snippets Groups Projects
Commit b6ba5b2b authored by Uma's avatar Uma
Browse files

Fixes #1217 webservice retrieve api should fetch all results with related record id

parent 9b26741d
No related branches found
No related tags found
No related merge requests found
......@@ -188,12 +188,9 @@ class VtigerModuleOperation extends WebserviceEntityOperation {
$output = array();
for($i=0; $i<$noofrows; $i++){
$row = $this->pearDB->fetchByAssoc($result,$i);
//NOTE : this permission check is not needed. If module does not have view permission
// then vtws_query API is restriction it. Module private check is added in the query itself,
// so this looks like additional overhead which can be removed.
/*if(!$meta->hasPermission(EntityMeta::$RETRIEVE,$row[$tableIdColumn])){
if(!$meta->hasPermission(EntityMeta::$RETRIEVE,$row[$tableIdColumn])){
continue;
}*/
}
$output[$row[$tableIdColumn]] = DataTransform::sanitizeDataWithColumn($row,$meta);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment