From 94f32e551384f6ac44363a85844d96d379059fcc Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 11 Nov 2021 10:03:44 -0700 Subject: [PATCH] Adjusting permissions for the dashbaord Farther down in the code if the user doesn't have ring_group_edit or ring_group_forward then let them see ring groups they were assigned directly. The check permissions that is being removed in this commit interferes with the assigned user from being able to see ring group assigned to them. --- .../resources/dashboard/ring_group_forward.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/app/ring_groups/resources/dashboard/ring_group_forward.php b/app/ring_groups/resources/dashboard/ring_group_forward.php index 6d114503ca..6974288296 100644 --- a/app/ring_groups/resources/dashboard/ring_group_forward.php +++ b/app/ring_groups/resources/dashboard/ring_group_forward.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2013-2019 + Portions created by the Initial Developer are Copyright (C) 2013-2021 the Initial Developer. All Rights Reserved. Contributor(s): @@ -31,15 +31,6 @@ require_once "resources/check_auth.php"; require_once "resources/paging.php"; -//check permissions - if (permission_exists('ring_group_edit') || permission_exists('ring_group_forward')) { - //access granted - } - else { - echo "access denied"; - exit; - } - //add multi-lingual support $language = new text; $text = $language->get($_SESSION['domain']['language']['code'], 'app/ring_groups');