mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
Merge branch 'ent-6946-bug-en-usuario-con-perfil-group-coordinator-meta' into 'develop'
fixed error with group cordinator profile with agent management meta See merge request artica/pandorafms!3842
This commit is contained in:
commit
532c04db39
@ -251,7 +251,16 @@ if (is_ajax()) {
|
|||||||
|
|
||||||
$tab = (string) get_parameter('tab', 'groups');
|
$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(
|
db_pandora_audit(
|
||||||
'ACL Violation',
|
'ACL Violation',
|
||||||
'Trying to access Group Management'
|
'Trying to access Group Management'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user