From b0b788427e2925025b28ba459013f71478cfc27a Mon Sep 17 00:00:00 2001 From: agree <37550360+greenbea@users.noreply.github.com> Date: Mon, 13 Jul 2020 14:46:57 -0400 Subject: [PATCH] remove CDR Statistics from default menu for users (#5347) * Remove CDR stattistics from user group menu users don't have CDR statistics vier permission no need to have it in the menu * remove status from user group menu No need to have it in the default menu for the user group --- app/xml_cdr/app_menu.php | 1 - core/menu/app_menu.php | 1 - 2 files changed, 2 deletions(-) diff --git a/app/xml_cdr/app_menu.php b/app/xml_cdr/app_menu.php index c56d64dfa9..4136f15cb3 100644 --- a/app/xml_cdr/app_menu.php +++ b/app/xml_cdr/app_menu.php @@ -50,7 +50,6 @@ $apps[$x]['menu'][$y]['parent_uuid'] = "0438b504-8613-7887-c420-c837ffb20cb1"; $apps[$x]['menu'][$y]['category'] = "internal"; $apps[$x]['menu'][$y]['path'] = "/app/xml_cdr/xml_cdr_statistics.php"; - $apps[$x]['menu'][$y]['groups'][] = "user"; $apps[$x]['menu'][$y]['groups'][] = "admin"; $apps[$x]['menu'][$y]['groups'][] = "superadmin"; $y++; diff --git a/core/menu/app_menu.php b/core/menu/app_menu.php index 9ab62937c2..333336b7a3 100644 --- a/core/menu/app_menu.php +++ b/core/menu/app_menu.php @@ -142,7 +142,6 @@ $apps[$x]['menu'][$y]['icon'] = "fa-chart-bar"; $apps[$x]['menu'][$y]['path'] = ""; $apps[$x]['menu'][$y]['order'] = "25"; - $apps[$x]['menu'][$y]['groups'][] = "user"; $apps[$x]['menu'][$y]['groups'][] = "admin"; $apps[$x]['menu'][$y]['groups'][] = "superadmin"; $y++;