fixed error with group cordinator profile with agent management meta

This commit is contained in:
marcos 2021-02-17 14:07:18 +01:00
parent c2ec312e72
commit 45a2b7141d
1 changed files with 10 additions and 1 deletions

View File

@ -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'