From c2ba621c154fab630d70188a162f1546117bdfe1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 12 Jul 2022 16:46:47 -0600 Subject: [PATCH] Add permission destination_cid_name_prefix. Remove an unused permission other_destinations. --- app/destinations/app_config.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/destinations/app_config.php b/app/destinations/app_config.php index 04f7af5d54..d407c48c9c 100644 --- a/app/destinations/app_config.php +++ b/app/destinations/app_config.php @@ -120,6 +120,9 @@ $apps[$x]['permissions'][$y]['name'] = "destination_context"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; + $apps[$x]['permissions'][$y]['name'] = "destination_cid_name_prefix"; + $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; + $y++; $apps[$x]['permissions'][$y]['name'] = "destination_record"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; $y++; @@ -147,10 +150,6 @@ $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;