BUG-10252 advanced search case summary form SOLVED
- A permission was add SUMMARY_FORM
This commit is contained in:
@@ -5069,7 +5069,8 @@ class Cases
|
||||
"INPUT" => Array(),
|
||||
"OUTPUT" => Array(),
|
||||
"CASES_NOTES" => 0,
|
||||
"MSGS_HISTORY" => Array()
|
||||
"MSGS_HISTORY" => Array(),
|
||||
"SUMMARY_FORM" => 0
|
||||
);
|
||||
|
||||
//permissions per user
|
||||
@@ -5226,6 +5227,7 @@ class Cases
|
||||
$oDataset->next();
|
||||
}
|
||||
$RESULT['CASES_NOTES'] = 1;
|
||||
$RESULT['SUMMARY_FORM'] = 1;
|
||||
|
||||
// Message History
|
||||
$RESULT['MSGS_HISTORY'] = array('PERMISSION' => $ACTION);
|
||||
@@ -5373,6 +5375,9 @@ class Cases
|
||||
case 'CASES_NOTES':
|
||||
$RESULT['CASES_NOTES'] = 1;
|
||||
break;
|
||||
case 'SUMMARY_FORM':
|
||||
$RESULT['SUMMARY_FORM'] = 1;
|
||||
break;
|
||||
case 'MSGS_HISTORY':
|
||||
// Permission
|
||||
$RESULT['MSGS_HISTORY'] = array('PERMISSION' => $ACTION);
|
||||
@@ -5424,7 +5429,8 @@ class Cases
|
||||
"INPUT_DOCUMENTS" => $RESULT['INPUT'],
|
||||
"OUTPUT_DOCUMENTS" => $RESULT['OUTPUT'],
|
||||
"CASES_NOTES" => $RESULT['CASES_NOTES'],
|
||||
"MSGS_HISTORY" => $RESULT['MSGS_HISTORY']
|
||||
"MSGS_HISTORY" => $RESULT['MSGS_HISTORY'],
|
||||
"SUMMARY_FORM" => $RESULT['SUMMARY_FORM']
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user