From 45a2b7141d327d79acadd97362a648d8346c9b69 Mon Sep 17 00:00:00 2001 From: marcos Date: Wed, 17 Feb 2021 14:07:18 +0100 Subject: [PATCH] fixed error with group cordinator profile with agent management meta --- pandora_console/godmode/groups/group_list.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pandora_console/godmode/groups/group_list.php b/pandora_console/godmode/groups/group_list.php index ad6eb27adf..55f38b3e35 100644 --- a/pandora_console/godmode/groups/group_list.php +++ b/pandora_console/godmode/groups/group_list.php @@ -251,7 +251,16 @@ if (is_ajax()) { $tab = (string) get_parameter('tab', 'groups'); -if ($tab != 'credbox' && ! check_acl($config['id_user'], 0, 'PM')) { +if ($tab != 'credbox' && ! check_acl( + $config['id_user'], + 0, + 'PM' +) && ! check_acl( + $config['id_user'], + 0, + 'AW' +) +) { db_pandora_audit( 'ACL Violation', 'Trying to access Group Management'