Re-enable the other destinations

Permission re-added as its used for the destination select list.
This commit is contained in:
FusionPBX 2023-03-20 10:33:54 -06:00 committed by GitHub
parent 9c8f4e9060
commit 42ca53567d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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']['user_contact'] = "loopback/\${destination_number}";
$apps[$x]['destinations'][$y]['select_label'] = "\${destination_number} \${destination_description}";
/*
$y++;
$apps[$x]['destinations'][$y]['type'] = 'array';
$apps[$x]['destinations'][$y]['label'] = 'other';
@ -67,7 +66,6 @@
$z++;
$apps[$x]['destinations'][$y]['result']['data'][$z]['name'] = 'company_directory';
$apps[$x]['destinations'][$y]['result']['data'][$z]['destination'] = '*732 XML ${context}';
*/
//permission details
$y=0;
@ -157,6 +155,10 @@
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
$apps[$x]['permissions'][$y]['name'] = "other_destinations";
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
$apps[$x]['permissions'][$y]['groups'][] = "admin";
$y++;
//default settings
$y = 0;