Re-enable the other destinations
Permission re-added as its used for the destination select list.
This commit is contained in:
parent
9c8f4e9060
commit
42ca53567d
|
|
@ -45,7 +45,6 @@
|
||||||
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination_number} XML \${destination_context}";
|
$apps[$x]['destinations'][$y]['select_value']['ivr'] = "menu-exec-app:transfer \${destination_number} XML \${destination_context}";
|
||||||
$apps[$x]['destinations'][$y]['select_value']['user_contact'] = "loopback/\${destination_number}";
|
$apps[$x]['destinations'][$y]['select_value']['user_contact'] = "loopback/\${destination_number}";
|
||||||
$apps[$x]['destinations'][$y]['select_label'] = "\${destination_number} \${destination_description}";
|
$apps[$x]['destinations'][$y]['select_label'] = "\${destination_number} \${destination_description}";
|
||||||
/*
|
|
||||||
$y++;
|
$y++;
|
||||||
$apps[$x]['destinations'][$y]['type'] = 'array';
|
$apps[$x]['destinations'][$y]['type'] = 'array';
|
||||||
$apps[$x]['destinations'][$y]['label'] = 'other';
|
$apps[$x]['destinations'][$y]['label'] = 'other';
|
||||||
|
|
@ -67,7 +66,6 @@
|
||||||
$z++;
|
$z++;
|
||||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['name'] = 'company_directory';
|
$apps[$x]['destinations'][$y]['result']['data'][$z]['name'] = 'company_directory';
|
||||||
$apps[$x]['destinations'][$y]['result']['data'][$z]['destination'] = '*732 XML ${context}';
|
$apps[$x]['destinations'][$y]['result']['data'][$z]['destination'] = '*732 XML ${context}';
|
||||||
*/
|
|
||||||
|
|
||||||
//permission details
|
//permission details
|
||||||
$y=0;
|
$y=0;
|
||||||
|
|
@ -157,6 +155,10 @@
|
||||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||||
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||||
$y++;
|
$y++;
|
||||||
|
$apps[$x]['permissions'][$y]['name'] = "other_destinations";
|
||||||
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||||
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||||
|
$y++;
|
||||||
|
|
||||||
//default settings
|
//default settings
|
||||||
$y = 0;
|
$y = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue